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.
This commit is contained in:
Bruce Evans 1998-07-07 01:25:37 +00:00
parent 3c3472fb32
commit d2c317efc5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37457

View file

@ -7,7 +7,12 @@ CFLAGS+=-traditional-cpp
HIDEGAME=hidegame HIDEGAME=hidegame
CLEANFILES+=setup data.c CLEANFILES+=setup data.c
build-tools: setup
data.c: glorkz setup data.c: glorkz setup
./setup ${.CURDIR}/glorkz > data.c ./setup ${.CURDIR}/glorkz > data.c
setup: setup.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
.include <bsd.prog.mk> .include <bsd.prog.mk>