From d2c317efc5dc28554b453d64d03257458eb6201b Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 7 Jul 1998 01:25:37 +0000 Subject: [PATCH] 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. --- games/adventure/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/games/adventure/Makefile b/games/adventure/Makefile index f7b7cd2959d3..5866a35a6e2f 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