|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. ! 4: # ! 5: # Redistribution and use in source and binary forms are permitted ! 6: # provided that the above copyright notice and this paragraph are ! 7: # duplicated in all such forms and that any documentation, ! 8: # advertising materials, and other materials related to such ! 9: # distribution and use acknowledge that the software was developed ! 10: # by the University of California, Berkeley. The name of the ! 11: # University may not be used to endorse or promote products derived ! 12: # from this software without specific prior written permission. ! 13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 16: # ! 17: # @(#)Makefile 5.2 (Berkeley) 6/18/88 ! 18: # ! 19: # Nifty foo monopoly maker ! 20: # Program: Ken Arnold ! 21: # Makefile: K.S. ! 22: # ! 23: CFLAGS= -O ! 24: LIBC= /lib/libc.a ! 25: MSRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \ ! 26: print.c prop.c rent.c roll.c spec.c trade.c ! 27: MOBJS= monop.o cards.o execute.o getinp.o houses.o jail.o misc.o morg.o \ ! 28: print.o prop.o rent.o roll.o spec.o trade.o ! 29: ISRCS= initdeck.c ! 30: IOBJS= initdeck.o ! 31: ! 32: all: monop initdeck cards.pck ! 33: ! 34: monop: ${MOBJS} ${LIBC} ! 35: ${CC} -o $@ ${CFLAGS} ${MOBJS} ! 36: ! 37: initdeck: ${IOBJS} ! 38: ${CC} ${CFLAGS} -o $@ ${IOBJS} ! 39: ! 40: cards.pck: FRC ! 41: ./initdeck ! 42: ! 43: clean: FRC ! 44: rm -f ${IOBJS} ${MOBJS} core monop initdeck cards.pck ! 45: ! 46: depend: FRC ! 47: mkdep ${CFLAGS} ${MSRCS} ${ISRCS} ! 48: ! 49: install: FRC ! 50: install -o games -g bin -m 400 cards.pck ${DESTDIR}/usr/games/lib ! 51: install -s -o games -g bin -m 700 monop ${DESTDIR}/usr/games/hide ! 52: (cd ${DESTDIR}/usr/games; rm -f monop; ln -s dm monop; chown games.bin monop) ! 53: ! 54: lint: FRC ! 55: lint ${CFLAGS} ${MSRCS} ! 56: lint ${CFLAGS} ${ISRCS} ! 57: ! 58: tags: FRC ! 59: ctags ${MSRCS} ${ISRCS} ! 60: ! 61: FRC: ! 62: ! 63: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 64: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 65: ! 66: monop.o: monop.c monop.def monop.h /usr/include/stdio.h deck.h mon.dat prop.dat ! 67: monop.o: brd.dat ! 68: cards.o: cards.c monop.ext monop.h /usr/include/stdio.h deck.h ! 69: execute.o: execute.c monop.ext monop.h /usr/include/stdio.h deck.h ! 70: execute.o: /usr/include/sys/types.h /usr/include/sys/stat.h ! 71: execute.o: /usr/include/sys/time.h /usr/include/time.h ! 72: getinp.o: getinp.c /usr/include/stdio.h /usr/include/ctype.h ! 73: houses.o: houses.c monop.ext monop.h /usr/include/stdio.h deck.h ! 74: jail.o: jail.c monop.ext monop.h /usr/include/stdio.h deck.h ! 75: misc.o: misc.c monop.ext monop.h /usr/include/stdio.h deck.h ! 76: misc.o: /usr/include/ctype.h /usr/include/signal.h /usr/include/machine/trap.h ! 77: misc.o: /usr/include/pwd.h ! 78: morg.o: morg.c monop.ext monop.h /usr/include/stdio.h deck.h ! 79: print.o: print.c monop.ext monop.h /usr/include/stdio.h deck.h ! 80: prop.o: prop.c monop.ext monop.h /usr/include/stdio.h deck.h ! 81: rent.o: rent.c monop.ext monop.h /usr/include/stdio.h deck.h ! 82: roll.o: roll.c ! 83: spec.o: spec.c monop.ext monop.h /usr/include/stdio.h deck.h ! 84: trade.o: trade.c monop.ext monop.h /usr/include/stdio.h deck.h ! 85: initdeck.o: initdeck.c /usr/include/stdio.h deck.h ! 86: ! 87: # 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.