# Copyright (c) 1987 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 4.7 (Berkeley) %G%
SRCS
= done.c init.c io.c main.c save.c subr.c vocab.c wizard.c
OBJS
= done.o init.o io.o main.o save.o subr.o vocab.o wizard.o
${CC} -n
${CFLAGS} ${OBJS}
save.o
: save.c
# vax C optimizer bug - infinite loop
rm -f
${OBJS} core advent a.out
install -s
-o games
-g bin
-m
700 advent
${DESTDIR}/usr
/games
/hide
/adventure
(cd
${DESTDIR}/usr
/games
; rm -f adventure
; ln
-s dm adventure
; chown games.bin adventure
)
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
io.o
: io.c hdr.h
/usr
/include/stdio.h
save.o
: save.c
/usr
/include/a.out.h
/usr
/include/sys
/exec.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY