build/make: Ensure make clean removes the LLVMBuild makefile fragment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149643 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2012-02-02 23:27:34 +00:00
parent 8979f4e711
commit 2e5b88e3cb

View File

@ -116,6 +116,10 @@ $(LLVMConfigLibraryDependenciesInc): $(LLVMBuildMakeFrag)
# building from a subdirectory, but that is always somewhat unreliable. # building from a subdirectory, but that is always somewhat unreliable.
ifeq ($(LEVEL),.) ifeq ($(LEVEL),.)
LLVMBUILD_INCLUDE_DEPENDENCIES := 1 LLVMBUILD_INCLUDE_DEPENDENCIES := 1
# Clean the generated makefile fragment at the top-level.
clean-local::
-$(Verb) $(RM) -f $(LLVMBuildMakeFrag)
endif endif
-include $(LLVMBuildMakeFrag) -include $(LLVMBuildMakeFrag)