diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-07 19:13:19 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-07 19:13:19 +0000 |
commit | 9bb399cf088154ec97f44603b03d80be469e9393 (patch) | |
tree | e4f32b565eb11799932237608b214fecdeef057b | |
parent | 58a0d64fae7ace05b27dad94fd427991d853619b (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34003 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index e06ae184c9..105ab839f7 100644 --- a/Makefile.rules +++ b/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 |