Browse Source

[makefile] Inhibit warnings if AUTO_DEPS or MEDIA_DEPS are empty lists

tags/v0.9.6
Michael Brown 16 years ago
parent
commit
98abd48a26
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/Makefile.housekeeping

+ 4
- 0
src/Makefile.housekeeping View File

379
 #
379
 #
380
 AUTO_DEPS	= $(patsubst %,$(BIN)/deps/%.d,$(AUTO_SRCS))
380
 AUTO_DEPS	= $(patsubst %,$(BIN)/deps/%.d,$(AUTO_SRCS))
381
 ifdef NEED_DEPS
381
 ifdef NEED_DEPS
382
+ifneq ($(AUTO_DEPS),)
382
 -include $(AUTO_DEPS)
383
 -include $(AUTO_DEPS)
383
 endif
384
 endif
385
+endif
384
 autodeps :
386
 autodeps :
385
 	@$(ECHO) $(AUTO_DEPS)
387
 	@$(ECHO) $(AUTO_DEPS)
386
 VERYCLEANUP	+= $(BIN)/deps
388
 VERYCLEANUP	+= $(BIN)/deps
636
 mediadeps :
638
 mediadeps :
637
 	@$(ECHO) $(MEDIA_DEPS)
639
 	@$(ECHO) $(MEDIA_DEPS)
638
 ifdef NEED_DEPS
640
 ifdef NEED_DEPS
641
+ifneq ($(MEDIA_DEPS),)
639
 -include $(MEDIA_DEPS)
642
 -include $(MEDIA_DEPS)
640
 endif
643
 endif
644
+endif
641
 
645
 
642
 # Wrap up binary blobs (for embedded images)
646
 # Wrap up binary blobs (for embedded images)
643
 #
647
 #

Loading…
Cancel
Save