|
|
1.1 ! root 1: # Makefile 4.2 82/10/24 ! 2: ! 3: DESTDIR= ! 4: CFILES= done.c init.c io.c main.c save.c subr.c vocab.c wizard.c ! 5: OBJS= done.o init.o io.o main.o save.o subr.o vocab.o wizard.o ! 6: HFILES = hdr.h ! 7: SRCS = $(CFILES) $(HFILES) glorkz ! 8: CFLAGS= -O ! 9: LDFLAGS=-n # should be -i on small machines, -n on a vax ! 10: ! 11: advent: a.out ! 12: rm -f advent ! 13: echo y | ./a.out ! 14: ! 15: a.out: ${OBJS} ! 16: ${CC} ${LDFLAGS} ${CFLAGS} ${OBJS} ! 17: ! 18: save.o: save.c # vax C optimizer bug - infinite loop ! 19: cc -c save.c ! 20: ! 21: # always recomple okplay ! 22: okplay.o: /tmp ! 23: ! 24: install: advent ! 25: install advent ${DESTDIR}/usr/games/adventure ! 26: # cp okplay /usr/games/adventure ! 27: # cp advsaver /usr/games/lib ! 28: # dd if=/usr/games/lib/adventure of=/usr/games/lib/advheader bs=1 count=16 ! 29: # chmod 711 /usr/games/lib ! 30: # chmod 700 /usr/games/lib/adventure ! 31: # chmod 755 /usr/games/lib/advheader ! 32: # chmod 755 /usr/games/lib/advsaver ! 33: # chmod 4711 /usr/games/adventure ! 34: # chown games /usr/games/adventure /usr/games/lib/adventure /usr/games/lib/advheader /usr/games/lib/advsaver ! 35: # rm advent a.out okplay ! 36: ! 37: okplay: okplay.c ! 38: ${CC} ${CFLAGS} -o okplay okplay.c ! 39: ! 40: advsaver: advsaver.s ! 41: ${AS} -o advsaver advsaver.s ! 42: ! 43: lint: ! 44: lint $(CFILES) >& lint.out ! 45: ! 46: clean: ! 47: rm -f ${OBJS} a.out advent core errs ! 48: ! 49: sources: $(SRCS) ! 50: ! 51: $(SRCS): ! 52: sccs get $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.