Don't define rules based on PROGS if PROGS is empty.
Reviewed by: sjg, ngie MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
323e0f6d4c
commit
cfcdd438f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273186
@ -99,9 +99,11 @@ $p.$t: .PHONY .MAKE
|
|||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
.if !empty(PROGS)
|
||||||
.for t in ${PROGS_TARGETS:O:u}
|
.for t in ${PROGS_TARGETS:O:u}
|
||||||
$t: ${PROGS:%=%.$t}
|
$t: ${PROGS:%=%.$t}
|
||||||
.endfor
|
.endfor
|
||||||
|
.endif
|
||||||
|
|
||||||
.if empty(PROGS) && !empty(SCRIPTS)
|
.if empty(PROGS) && !empty(SCRIPTS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user