Ignore the lifetime intrinsics in fast-isel.
[oota-llvm.git] / Makefile.rules
index 2d80c43dc86af3d66f9ad67f28fbf8021806a634..32a97c646c717dbbc3b350cf690f7baeb1c8415e 100644 (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)