diff --git a/Makefile.rules b/Makefile.rules index dbd23ecaec2..ef4c8b0aa81 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -74,7 +74,7 @@ preconditions : $(PreConditions) #------------------------------------------------------------------------ # Make sure the BUILT_SOURCES are built first #------------------------------------------------------------------------ -$(filter-out clean clean-local,UserTargets):: $(BUILT_SOURCES) +$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES) clean-local:: ifneq ($(strip $(BUILT_SOURCES)),)