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:
parent
3c3472fb32
commit
d2c317efc5
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user