.c.o:
	LC $(CFLAGS) $*.c

.asm.o:
	ASM -IASM: $*.asm

CFLAGS		= -cimqws -b1 -r1 -v -mt0 -O -HFormat.SYM
LFLAGS		= SC SD ND DEFINE __main=__tinymain

LIBS		= LIB:amiga2.0.lib LIB:lc.lib

OBJS		= Format.o StringFormat.o

all:		Format.SYM Format Find

Format:		$(OBJS)
		BLINK LIB:cres.o $(OBJS) TO $@ LIB $(LIBS) $(LFLAGS)

Find:		Find.o StringFormat.o
		BLINK LIB:cres.o Find.o StringFormat.o TO $@ LIB $(LIBS) $(LFLAGS)

Format.SYM:	PreInclude.c
		LC -cimqws -ph -oFormat.SYM PreInclude.c
