diff options
-rw-r--r-- | Makefile.common | 4 | ||||
-rw-r--r-- | Makefile.rules | 4 |
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 |