summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-07 19:13:19 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-07 19:13:19 +0000
commit48c74391c401e07a8c461d16b36fe7d4a5a6f3aa (patch)
tree05bb3a00a783f34005f61b54abb14923df4b9b22
parent9c89e2e54850ed8de67f9dd94c0f878ba3aa436a (diff)
downloadbcm5719-llvm-48c74391c401e07a8c461d16b36fe7d4a5a6f3aa.tar.gz
bcm5719-llvm-48c74391c401e07a8c461d16b36fe7d4a5a6f3aa.zip
Make the cleaning of BUILT_SOURCES be a "clean-all" target item, not a
"clean" target item. This gets around having the built sources disappear when only one build mode wants to be cleaned. With the "clean-all" target, all build modes are cleaned so it also makes sense to clean out the built sources at that point. llvm-svn: 34003
-rw-r--r--llvm/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index e06ae184c93..105ab839f7a 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -85,7 +85,7 @@ preconditions: $(PreConditions)
#------------------------------------------------------------------------
$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES)
-clean-local::
+clean-all-local::
ifneq ($(strip $(BUILT_SOURCES)),)
-$(Verb) $(RM) -f $(BUILT_SOURCES)
endif
OpenPOWER on IntegriCloud