ARC = For.c ForAll.c struct.c Makefile For ForAll For.doc

ALL: For ForAll

For: For.o
	slink For.o to For \
	MAP For.MAP \
	sc sd nd NOICONS \
	BATCH

ForAll: ForAll.o
	slink ForAll.o to ForAll \
	LIB LIB:amiga.lib \
	MAP ForAll.MAP \
	sc sd nd NOICONS \
	BATCH

.c.o:
	sc NOICONS OPTIMIZE VERBOSE STRICT NOICONS UNSCHAR STRMERGE STREQ \
	NOSTKCHK NOERRHIGH CONSTLIBBASE GST=For.gst $*

For.lha: $(ARC)
	lha -2 u For.lha $(ARC)

For.gst: struct.c
	sc NOICONS UNSCHAR STRMERGE STREQ OPTIMIZE NOSTKCHK NOOBJNAME MAKEGST=For.gst struct.c

clean:
	delete *.o *.info For ForAll *.MAP For.lha *!

For.o: For.c For.gst

ForAll.o: ForAll.c For.gst


