|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.7 (Berkeley) 9/21/87 ! 7: # ! 8: CFLAGS= -O ! 9: LIBC= /lib/libc.a ! 10: SRCS= done.c init.c io.c main.c save.c subr.c vocab.c wizard.c ! 11: OBJS= done.o init.o io.o main.o save.o subr.o vocab.o wizard.o ! 12: ! 13: advent: ${OBJS} ${LIBC} ! 14: ${CC} -n ${CFLAGS} ${OBJS} ! 15: rm -f $@ ! 16: echo y | ./a.out ! 17: ! 18: save.o: save.c # vax C optimizer bug - infinite loop ! 19: ${CC} -c save.c ! 20: ! 21: clean: FRC ! 22: rm -f ${OBJS} core advent a.out ! 23: ! 24: depend: FRC ! 25: mkdep ${CFLAGS} ${SRCS} ! 26: ! 27: install: FRC ! 28: install -s -o games -g bin -m 700 advent ${DESTDIR}/usr/games/hide/adventure ! 29: (cd ${DESTDIR}/usr/games; rm -f adventure; ln -s dm adventure; chown games.bin adventure) ! 30: ! 31: lint: FRC ! 32: lint ${CFLAGS} ${SRCS} ! 33: ! 34: tags: FRC ! 35: ctags ${SRCS} ! 36: ! 37: FRC: ! 38: ! 39: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 40: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 41: ! 42: done.o: done.c hdr.h ! 43: init.o: init.c hdr.h ! 44: io.o: io.c hdr.h /usr/include/stdio.h ! 45: main.o: main.c hdr.h ! 46: save.o: save.c /usr/include/a.out.h /usr/include/sys/exec.h ! 47: subr.o: subr.c hdr.h ! 48: vocab.o: vocab.c hdr.h ! 49: wizard.o: wizard.c hdr.h ! 50: ! 51: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.