Slightly simplify make logic

llvm-svn: 8211
This commit is contained in:
Chris Lattner 2003-08-29 14:07:02 +00:00
parent a38adaa88f
commit b0f858b22a
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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