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

Loading…
Cancel
Save