CFILES
= 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
SRCS
= $(CFILES
) $(HFILES
) glorkz
LDFLAGS
=-n
# should be -i on small machines, -n on a vax
${CC} ${LDFLAGS} ${CFLAGS} ${OBJS}
save.o
: save.c
# vax C optimizer bug - infinite loop
install advent
${DESTDIR}/usr
/games
/adventure
# cp okplay /usr/games/adventure
# cp advsaver /usr/games/lib
# dd if=/usr/games/lib/adventure of=/usr/games/lib/advheader bs=1 count=16
# chmod 711 /usr/games/lib
# chmod 700 /usr/games/lib/adventure
# chmod 755 /usr/games/lib/advheader
# chmod 755 /usr/games/lib/advsaver
# chmod 4711 /usr/games/adventure
# chown games /usr/games/adventure /usr/games/lib/adventure /usr/games/lib/advheader /usr/games/lib/advsaver
${CC} ${CFLAGS} -o okplay okplay.c
${AS} -o advsaver advsaver.s
lint
$(CFILES
) >& lint.out
rm -f
${OBJS} a.out advent core errs