[llvm-commits] [llvm] r149643 - /llvm/trunk/Makefile.rules
Daniel Dunbar
daniel at zuster.org
Thu Feb 2 15:27:35 PST 2012
Author: ddunbar
Date: Thu Feb 2 17:27:34 2012
New Revision: 149643
URL: http://llvm.org/viewvc/llvm-project?rev=149643&view=rev
Log:
build/make: Ensure make clean removes the LLVMBuild makefile fragment.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=149643&r1=149642&r2=149643&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Thu Feb 2 17:27:34 2012
@@ -116,6 +116,10 @@
# 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)
More information about the llvm-commits
mailing list