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

llvm-svn: 149643
This commit is contained in:
Daniel Dunbar 2012-02-02 23:27:34 +00:00
parent 5d9fbd609d
commit e30365bfc2
1 changed files with 4 additions and 0 deletions

View File

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