mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
58a0d64fae
commit
9bb399cf08
@ -85,7 +85,7 @@ preconditions: $(PreConditions)
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES)
|
$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES)
|
||||||
|
|
||||||
clean-local::
|
clean-all-local::
|
||||||
ifneq ($(strip $(BUILT_SOURCES)),)
|
ifneq ($(strip $(BUILT_SOURCES)),)
|
||||||
-$(Verb) $(RM) -f $(BUILT_SOURCES)
|
-$(Verb) $(RM) -f $(BUILT_SOURCES)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user