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

View File

@ -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>