# Makefile for DJGPP v2.01/Tierra4.3 source for use with DJGPP port of = GNU Make 3.75 CC =3D gcc DEFS =3D -DDJGPP -DPLOIDY=3D1 LIBS =3D -lm -lpc # Modify cflags for your compilation (e.g -g for debugging) MFLAGS =3D -m486 CFLAGS =3D -O2 -ffast-math -fomit-frame-pointer -funroll-loops = -fstrength-reduce -fexpensive-optimizations LDFLAGS =3D -s TIERRAOBJS =3D bookeep.o decode.o diskbank.o frontend.o genio.o = instruct.o memalloc.o \ memtree.o micromon.o portable.o queues.o rambank.o = slicers.o tierra.o \ trand.o tsetup.o ttools.o ARGOBJS =3D arg.o arg_inc.o .PHONY: all all: tierra.exe arg.exe gene1 gene2 .c.o: $(CC) -c $(MFLAGS) $(DEFS) $(CFLAGS) $< clean: rm -f tierra arg *.o tierra.exe: $(TIERRAOBJS) $(CC) $(LDFLAGS) -o $@ $(TIERRAOBJS) $(LIBS) arg.exe: $(ARGOBJS) $(CC) $(LDFLAGS) -o $@ $(ARGOBJS) $(LIBS) .PHONY: gene1=20 gene1: cd gb0 ../arg c 0080.gen 80 0080aaa.tie cp 0080.gen 0080gen.vir cd ../gb1 ../arg c 0095.gen 95 0095aaa.tie cp 0095.gen 0095gen.vir cd ../gb2 ../arg c 0093.gen 93 0093aaa.tie cp 0093.gen 0093gen.vir cd ../gb3 ../arg c 0082.gen 82 0082aaa.tie cp 0082.gen 0082gen.vir cd ../gb8 ../arg c 0082.gen 82 0082aaa.tie cp 0082.gen 0082gen.vir cd .. .PHONY: gene2 gene2: cd gb7 ../arg c 0087.gen 87 0087aaa.tie cp 0087.gen 0087gen.vir cd ..