Browse Source

[makefile] Suppress "No such file or directory" warnings at start of build

Use "-include" rather than "include" for the generated Makefile
fragments, in order to suppress the long list of warnings that
otherwise appears at the start of a clean build.

Contributed by Edward Waugh <ewaugh@netxen.com>
tags/v0.9.4
Michael Brown 16 years ago
parent
commit
c302eeda5a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Makefile.housekeeping

+ 2
- 2
src/Makefile.housekeeping View File

@@ -205,7 +205,7 @@ $(BIN)/deps/%.d : % $(MAKEDEPS) $(PARSEROM)
205 205
 # Calculate and include the list of Makefile rules files
206 206
 #
207 207
 AUTO_DEPS	= $(patsubst %,$(BIN)/deps/%.d,$(AUTO_SRCS))
208
-include $(AUTO_DEPS)
208
+-include $(AUTO_DEPS)
209 209
 autodeps :
210 210
 	@$(ECHO) $(AUTO_DEPS)
211 211
 VERYCLEANUP	+= $(BIN)/deps
@@ -459,7 +459,7 @@ $(BIN)/deps/%.media.d : $(MAKEDEPS)
459 459
 MEDIA_DEPS		= $(patsubst %,$(BIN)/deps/%.media.d,$(AUTO_MEDIA))
460 460
 mediadeps :
461 461
 	@$(ECHO) $(MEDIA_DEPS)
462
-include $(MEDIA_DEPS)
462
+-include $(MEDIA_DEPS)
463 463
 
464 464
 # The "allXXXs" targets for each suffix
465 465
 #

Loading…
Cancel
Save