summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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