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 | e30365bfc28be0ab425ab1dc24a6fd726b796abb (patch) | |
tree | 690af99a26c87da90740b455622e198cc20947b9 | |
parent | 5d9fbd609d4a142f7d2248e3138a9f2ac7502697 (diff) | |
download | bcm5719-llvm-e30365bfc28be0ab425ab1dc24a6fd726b796abb.tar.gz bcm5719-llvm-e30365bfc28be0ab425ab1dc24a6fd726b796abb.zip |
build/make: Ensure make clean removes the LLVMBuild makefile fragment.
llvm-svn: 149643
-rw-r--r-- | llvm/Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 2d80c43dc86..32a97c646c7 100644 --- a/llvm/Makefile.rules +++ b/llvm/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) |