home *** CD-ROM | disk | FTP | other *** search
- # townmake.lmk Copyright 1991 by Kent Paul Dolan,
- # Mountain View, CA, USA, 94039-0755
- # May be freely used in any non-commercial venture.
- # Copyrighted only to prevent patenting of the ideas
- # contained herein by others.
- #
- # BSD 4.3 Unix make file for use with "make -f townmaze.lmk" command
- # Amiga Lattice C 5.05 make file for use with "lmk -f townmzae.lmk" command;
- # (after minor edits) -- needs townmaze.with for blink command.
- #
- # C files:
- #
- # cleanupmap.c
- # closedoors.c
- # closegates.c
- # connectst.c
- # filllist.c
- # fillmaze.c
- # finishalleys.c
- # freespace.c
- # getargs.c
- # interiorcell.c
- # makecourts.c
- # makegates.c
- # makestreet.c
- # makespace.c
- # makeunused.c
- # movefromto.c
- # nhbrexists.c
- # nhbris.c
- # showdbmaze.c
- # showlistdet.c
- # showlistsum.c
- # showmaze.c
- # townmain.c
- # usage.c
- #
- # townmaze.h
- # townproto.h
- #
- # pick a compile command
- #
- # Amiga Lattice C 5.05:
- #
- #CC = lc -dRAND48
- #
- # or BSD 4.3 Unix oldstyle cc:
- #
- CC = cc -c
- #
- # The link command is too complex to just define up here; it will need
- # changes in the body of the makefile where "townmaze" is created.
- #
-
- HEADERS = townmaze.h \
- townproto.h
-
- SOURCES = cleanupmap.c \
- closedoors.c \
- closegates.c \
- connectst.c \
- filllist.c \
- fillmaze.c \
- finishalleys.c \
- freespace.c \
- getargs.c \
- interiorcell.c \
- makecourts.c \
- makegates.c \
- makestreet.c \
- makespace.c \
- makeunused.c \
- movefromto.c \
- nhbrexists.c \
- nhbris.c \
- showdbmaze.c \
- showlistdet.c \
- showlistsum.c \
- showmaze.c \
- townmain.c \
- usage.c
-
- OBJECTS = cleanupmap.o \
- closedoors.o \
- closegates.o \
- connectst.o \
- filllist.o \
- fillmaze.o \
- finishalleys.o \
- freespace.o \
- getargs.o \
- interiorcell.o \
- makegates.o \
- makecourts.o \
- makespace.o \
- makestreet.o \
- makeunused.o \
- movefromto.o \
- nhbrexists.o \
- nhbris.o \
- showdbmaze.o \
- showlistdet.o \
- showlistsum.o \
- showmaze.o \
- townmain.o \
- usage.o
-
- #
- # Pick a link command
- #
- # Amiga Lattice C 5.05:
- #
-
- #townmaze: $(OBJECTS)
- # blink with townmaze.with
-
- #
- # or BSD 4.3 Unix old style cc:
- #
-
- townmaze: $(OBJECTS)
- cc -o townmaze ${OBJECTS}
-
- cleanupmap.o: $(HEADERS) cleanupmap.c
- $(CC) cleanupmap.c
-
- closedoors.o: $(HEADERS) closedoors.c
- $(CC) closedoors.c
-
- closegates.o: $(HEADERS) closegates.c
- $(CC) closegates.c
-
- connectst.o: $(HEADERS) connectst.c
- $(CC) connectst.c
-
- filllist.o: $(HEADERS) filllist.c
- $(CC) filllist.c
-
- fillmaze.o: $(HEADERS) fillmaze.c
- $(CC) fillmaze.c
-
- finishalleys.o: $(HEADERS) finishalleys.c
- $(CC) finishalleys.c
-
- freespace.o: $(HEADERS) freespace.c
- $(CC) freespace.c
-
- getargs.o: $(HEADERS) getargs.c
- $(CC) getargs.c
-
- interiorcell.o: $(HEADERS) interiorcell.c
- $(CC) interiorcell.c
-
- makecourts.o: $(HEADERS) makecourts.c
- $(CC) makecourts.c
-
- makegates.o: $(HEADERS) makegates.c
- $(CC) makegates.c
-
- makespace.o: $(HEADERS) makespace.c
- $(CC) makespace.c
-
- makestreet.o: $(HEADERS) makestreet.c
- $(CC) makestreet.c
-
- makeunused.o: $(HEADERS) makeunused.c
- $(CC) makeunused.c
-
- movefromto.o: $(HEADERS) movefromto.c
- $(CC) movefromto.c
-
- nhbrexists.o: $(HEADERS) nhbrexists.c
- $(CC) nhbrexists.c
-
- nhbris.o: $(HEADERS) nhbris.c
- $(CC) nhbris.c
-
- showdbmaze.o: $(HEADERS) showdbmaze.c
- $(CC) showdbmaze.c
-
- showlistdet.o: $(HEADERS) showlistdet.c
- $(CC) showlistdet.c
-
- showlistsum.o: $(HEADERS) showlistsum.c
- $(CC) showlistsum.c
-
- showmaze.o: $(HEADERS) showmaze.c
- $(CC) showmaze.c
-
- townmain.o: $(HEADERS) townmain.c
- $(CC) townmain.c
-
- usage.o: $(HEADERS) usage.c
- $(CC) usage.c
-