aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-29 14:07:02 +0000
committerChris Lattner <sabre@nondot.org>2003-08-29 14:07:02 +0000
commit15444a9bd4a7bfacd8aee62897053d9b783eb53c (patch)
tree5ff2b93eca84f9bbd6dbac365d1693b65338ff57
parent287d11191f8470add8deaad90e2c40a953a4c4f5 (diff)
Slightly simplify make logic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8211 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.common4
-rw-r--r--Makefile.rules4
2 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.common b/Makefile.common
index f002d0af06..45a25edb0a 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -843,9 +843,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: $(SourceDir)%.c $(BUILD_OBJ_DIR)/Depend/.dir
#
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
-ifneq ($(SourceDepend),)
--include $(SourceDepend)
-endif
+-include /dev/null $(SourceDepend)
endif
endif
diff --git a/Makefile.rules b/Makefile.rules
index f002d0af06..45a25edb0a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -843,9 +843,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: $(SourceDir)%.c $(BUILD_OBJ_DIR)/Depend/.dir
#
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
-ifneq ($(SourceDepend),)
--include $(SourceDepend)
-endif
+-include /dev/null $(SourceDepend)
endif
endif