freebsd-src/games/adventure/Makefile
John Birrell e4b6f0d19f Build the setup program static so that we don't try to use the shared
loader before it has been installed in a transition build from aout to elf.
1998-08-15 07:46:35 +00:00

19 lines
396 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} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
.include <bsd.prog.mk>