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:
Mark Johnston 2014-10-16 21:13:46 +00:00
parent 323e0f6d4c
commit cfcdd438f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273186

View File

@ -99,9 +99,11 @@ $p.$t: .PHONY .MAKE
.endfor
.endfor
.if !empty(PROGS)
.for t in ${PROGS_TARGETS:O:u}
$t: ${PROGS:%=%.$t}
.endfor
.endif
.if empty(PROGS) && !empty(SCRIPTS)