PROGS: Only recurse on called targets like done for SUBDIR in r291635.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e1ea782729
commit
a65a0e56cf
@ -134,6 +134,8 @@ $p.$t: .PHONY .MAKE
|
||||
|
||||
# Depend main pseudo targets on all PROG.pseudo targets too.
|
||||
.for t in ${PROGS_TARGETS:O:u}
|
||||
.if make(${t})
|
||||
$t: ${PROGS:%=%.$t}
|
||||
.endif
|
||||
.endfor
|
||||
.endif # !empty(PROGS) && !defined(_RECURSING_PROGS) && !defined(PROG)
|
||||
|
Loading…
Reference in New Issue
Block a user