mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
To help bootstrap new local depends,
if SRCS contains *.h for which there are targets, make buildfiles depend on them - so they get generated early.
This commit is contained in:
parent
857b8cc71d
commit
f76824ed31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288966
|
@ -14,6 +14,12 @@ LDFLAGS+= ${LDFLAGS_LAST}
|
|||
|
||||
CLEANFILES+= .depend
|
||||
|
||||
.for h in ${SRCS:M*.h}
|
||||
.if target($h)
|
||||
buildfiles: $h
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# handy for debugging
|
||||
.SUFFIXES: .S .c .cc .cpp .cpp-out
|
||||
|
||||
|
|
Loading…
Reference in a new issue