# Copyright (c) 1987 Regents of the University of California.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the University of California, Berkeley. The name of the
# University may not be used to endorse or promote products derived
# from this software without specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# @(#)Makefile 5.5 (Berkeley) %G%
SRCS
= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \
compkl.c computer.c damage.c damaged.c dcrept.c destruct.c \
dock.c dumpgame.c dumpme.c dumpssradio.c events.c externs.c \
getcodi.c getpar.c help.c impulse.c initquad.c kill.c klmove.c \
lose.c lrscan.c main.c move.c nova.c out.c phaser.c play.c ram.c \
ranf.c rest.c schedule.c score.c setup.c setwarp.c
shell.c \
shield.c snova.c srscan.c systemname.c torped.c utility.c \
visual.c warp.c win.c cgetc.c
OBJS
= abandon.o attack.o autover.o capture.o check_out.o checkcond.o \
compkl.o computer.o damage.o damaged.o dcrept.o destruct.o \
dock.o dumpgame.o dumpme.o dumpssradio.o events.o externs.o \
getcodi.o getpar.o help.o impulse.o initquad.o kill.o klmove.o \
lose.o lrscan.o main.o move.o nova.o out.o phaser.o play.o ram.o \
ranf.o rest.o schedule.o score.o setup.o setwarp.o
shell.o \
shield.o snova.o srscan.o systemname.o torped.o utility.o \
visual.o warp.o win.o cgetc.o
${CC} ${CFLAGS} -o
$@
${OBJS} ${LIBS}
install -s
-o games
-g bin
-m
700 trek
${DESTDIR}/usr
/games
/hide
(cd
${DESTDIR}/usr
/games
; rm -f trek
; ln
-s dm trek
; chown games.bin trek
)
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
abandon.o
: abandon.c trek.h
attack.o
: attack.c trek.h
autover.o
: autover.c trek.h
capture.o
: capture.c trek.h
check_out.o
: check_out.c trek.h
checkcond.o
: checkcond.c trek.h
compkl.o
: compkl.c trek.h
computer.o
: computer.c trek.h getpar.h
/usr
/include/stdio.h
damage.o
: damage.c trek.h
damaged.o
: damaged.c trek.h
dcrept.o
: dcrept.c trek.h
destruct.o
: destruct.c trek.h
dumpgame.o
: dumpgame.c trek.h
dumpme.o
: dumpme.c trek.h
dumpssradio.o
: dumpssradio.c trek.h
events.o
: events.c trek.h
externs.o
: externs.c trek.h
getcodi.o
: getcodi.c getpar.h
getpar.o
: getpar.c
/usr
/include/stdio.h getpar.h
impulse.o
: impulse.c trek.h
initquad.o
: initquad.c trek.h
klmove.o
: klmove.c trek.h
lrscan.o
: lrscan.c trek.h
main.o
: main.c trek.h
/usr
/include/stdio.h
/usr
/include/sgtty.h
main.o
: /usr
/include/sys
/ioctl.h
/usr
/include/sys
/ttychars.h
main.o
: /usr
/include/sys
/ttydev.h
phaser.o
: phaser.c trek.h getpar.h
play.o
: play.c trek.h getpar.h
ranf.o
: ranf.c
/usr
/include/stdio.h
rest.o
: rest.c trek.h getpar.h
schedule.o
: schedule.c trek.h
score.o
: score.c trek.h getpar.h
setup.o
: setup.c trek.h getpar.h
setwarp.o
: setwarp.c trek.h getpar.h
shield.o
: shield.c trek.h getpar.h
srscan.o
: srscan.c trek.h getpar.h
systemname.o
: systemname.c trek.h
torped.o
: torped.c
/usr
/include/stdio.h trek.h
visual.o
: visual.c trek.h
win.o
: win.c trek.h getpar.h
cgetc.o
: cgetc.c
/usr
/include/stdio.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY