From: Reid Spencer Date: Thu, 16 Dec 2004 07:15:16 +0000 (+0000) Subject: Fix a major bug with BUILT_SOURCES. You actually have to dereference a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07a549aeb0cfc0062c5abd37d0a632cd53d2dcd1;p=oota-llvm.git Fix a major bug with BUILT_SOURCES. You actually have to dereference a variable before you can filter its value. Duh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18979 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)),)