diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-02-02 23:27:34 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-02-02 23:27:34 +0000 |
commit | 2e5b88e3cbb9438b5b9d3a1dc499b11a144ca7d2 (patch) | |
tree | 16e35a9e82c596d28b72f45e2fa42514698ed896 /Makefile.rules | |
parent | 8979f4e711e4f521f7116215cd121250a44a9c51 (diff) |
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
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 2d80c43dc8..32a97c646c 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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) |