forked from OSchip/llvm-project
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
This commit is contained in:
parent
9c89e2e548
commit
48c74391c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue