freebsd-nq/games/adventure/Makefile
Bruce Evans d2c317efc5 Added a `build-tools' target for internal tools.
Restored a variant of explicit rule for `setup', with modifications to
always build setup.o so that `setup' doesn't change every time it is
rebuilt because it has a temporary file name in it.
1998-07-07 01:25:37 +00:00

19 lines
388 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/12/93
PROG= adventure
SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN6= adventure.6
CFLAGS+=-traditional-cpp
HIDEGAME=hidegame
CLEANFILES+=setup data.c
build-tools: setup
data.c: glorkz setup
./setup ${.CURDIR}/glorkz > data.c
setup: setup.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
.include <bsd.prog.mk>