|
|
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.5 (Berkeley) 6/18/88 ! 18: # ! 19: CFLAGS= -O ! 20: LIBC= /lib/libc.a ! 21: LIBS= -lm ! 22: SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \ ! 23: compkl.c computer.c damage.c damaged.c dcrept.c destruct.c \ ! 24: dock.c dumpgame.c dumpme.c dumpssradio.c events.c externs.c \ ! 25: getcodi.c getpar.c help.c impulse.c initquad.c kill.c klmove.c \ ! 26: lose.c lrscan.c main.c move.c nova.c out.c phaser.c play.c ram.c \ ! 27: ranf.c rest.c schedule.c score.c setup.c setwarp.c shell.c \ ! 28: shield.c snova.c srscan.c systemname.c torped.c utility.c \ ! 29: visual.c warp.c win.c cgetc.c ! 30: OBJS= abandon.o attack.o autover.o capture.o check_out.o checkcond.o \ ! 31: compkl.o computer.o damage.o damaged.o dcrept.o destruct.o \ ! 32: dock.o dumpgame.o dumpme.o dumpssradio.o events.o externs.o \ ! 33: getcodi.o getpar.o help.o impulse.o initquad.o kill.o klmove.o \ ! 34: lose.o lrscan.o main.o move.o nova.o out.o phaser.o play.o ram.o \ ! 35: ranf.o rest.o schedule.o score.o setup.o setwarp.o shell.o \ ! 36: shield.o snova.o srscan.o systemname.o torped.o utility.o \ ! 37: visual.o warp.o win.o cgetc.o ! 38: ! 39: all: trek ! 40: ! 41: trek: ${OBJS} ${LIBC} ! 42: ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} ! 43: ! 44: clean: FRC ! 45: rm -f ${OBJS} core trek ! 46: ! 47: depend: FRC ! 48: mkdep ${CFLAGS} ${SRCS} ! 49: ! 50: install: FRC ! 51: install -s -o games -g bin -m 700 trek ${DESTDIR}/usr/games/hide ! 52: (cd ${DESTDIR}/usr/games; rm -f trek; ln -s dm trek; chown games.bin trek) ! 53: ! 54: lint: FRC ! 55: lint ${CFLAGS} ${SRCS} ! 56: ! 57: tags: FRC ! 58: ctags ${SRCS} ! 59: ! 60: FRC: ! 61: ! 62: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 63: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 64: ! 65: abandon.o: abandon.c trek.h ! 66: attack.o: attack.c trek.h ! 67: autover.o: autover.c trek.h ! 68: capture.o: capture.c trek.h ! 69: check_out.o: check_out.c trek.h ! 70: checkcond.o: checkcond.c trek.h ! 71: compkl.o: compkl.c trek.h ! 72: computer.o: computer.c trek.h getpar.h /usr/include/stdio.h ! 73: damage.o: damage.c trek.h ! 74: damaged.o: damaged.c trek.h ! 75: dcrept.o: dcrept.c trek.h ! 76: destruct.o: destruct.c trek.h ! 77: dock.o: dock.c trek.h ! 78: dumpgame.o: dumpgame.c trek.h ! 79: dumpme.o: dumpme.c trek.h ! 80: dumpssradio.o: dumpssradio.c trek.h ! 81: events.o: events.c trek.h ! 82: externs.o: externs.c trek.h ! 83: getcodi.o: getcodi.c getpar.h ! 84: getpar.o: getpar.c /usr/include/stdio.h getpar.h ! 85: help.o: help.c trek.h ! 86: impulse.o: impulse.c trek.h ! 87: initquad.o: initquad.c trek.h ! 88: kill.o: kill.c trek.h ! 89: klmove.o: klmove.c trek.h ! 90: lose.o: lose.c trek.h ! 91: lrscan.o: lrscan.c trek.h ! 92: main.o: main.c trek.h /usr/include/stdio.h /usr/include/sgtty.h ! 93: main.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h ! 94: main.o: /usr/include/sys/ttydev.h ! 95: move.o: move.c trek.h ! 96: nova.o: nova.c trek.h ! 97: out.o: out.c trek.h ! 98: phaser.o: phaser.c trek.h getpar.h ! 99: play.o: play.c trek.h getpar.h ! 100: ram.o: ram.c trek.h ! 101: ranf.o: ranf.c /usr/include/stdio.h ! 102: rest.o: rest.c trek.h getpar.h ! 103: schedule.o: schedule.c trek.h ! 104: score.o: score.c trek.h getpar.h ! 105: setup.o: setup.c trek.h getpar.h ! 106: setwarp.o: setwarp.c trek.h getpar.h ! 107: shell.o: shell.c ! 108: shield.o: shield.c trek.h getpar.h ! 109: snova.o: snova.c trek.h ! 110: srscan.o: srscan.c trek.h getpar.h ! 111: systemname.o: systemname.c trek.h ! 112: torped.o: torped.c /usr/include/stdio.h trek.h ! 113: utility.o: utility.c ! 114: visual.o: visual.c trek.h ! 115: warp.o: warp.c trek.h ! 116: win.o: win.c trek.h getpar.h ! 117: cgetc.o: cgetc.c /usr/include/stdio.h ! 118: ! 119: # 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.