mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 02:34:59 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37457
|
@ -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 a new issue