Skip to content

Commit

Permalink
Slightly simplify make logic
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8211 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Aug 29, 2003
1 parent 287d111 commit 15444a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 15444a9

Please sign in to comment.