hook stage_* to all: only as needed

This commit is contained in:
Simon J. Gerraty 2013-02-16 01:13:30 +00:00
parent 03bec0a956
commit 0649e98d2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=246863

View File

@ -436,7 +436,11 @@ stage_libs stage_files stage_as:
.else
.if !empty(_LIBS) && !defined(INTERNALLIB)
stage_libs: ${_LIBS}
all: stage_libs
.for t in stage_libs stage_files stage_as
.if target($t)
all: $t
.endif
.endfor
.endif
.if !empty(INCS) || !empty(INCSGROUPS)
prebuild: buildincludes