summaryrefslogtreecommitdiffstats
path: root/games/adventure
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 01:25:37 +0000
committerbde <bde@FreeBSD.org>1998-07-07 01:25:37 +0000
commit1e950b5e647919fadd4dc45a86065a4e5839c6e1 (patch)
treec6605e7b28e66e4b59203590fc8134046393dee6 /games/adventure
parent3b038012cb8f4c939194573240b52ba5c392d9dc (diff)
downloadFreeBSD-src-1e950b5e647919fadd4dc45a86065a4e5839c6e1.zip
FreeBSD-src-1e950b5e647919fadd4dc45a86065a4e5839c6e1.tar.gz
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.
Diffstat (limited to 'games/adventure')
-rw-r--r--games/adventure/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/adventure/Makefile b/games/adventure/Makefile
index f7b7cd2..5866a35 100644
--- a/games/adventure/Makefile
+++ b/games/adventure/Makefile
@@ -7,7 +7,12 @@ 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>
OpenPOWER on IntegriCloud