2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 03:09:12 +00:00

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

This commit is contained in:
Michael Brown 2008-10-10 02:09:55 +01:00
parent 3f80f9e1a6
commit 98abd48a26

View File

@ -379,8 +379,10 @@ $(BIN)/deps/%.d : % $(MAKEDEPS) $(PARSEROM)
#
AUTO_DEPS = $(patsubst %,$(BIN)/deps/%.d,$(AUTO_SRCS))
ifdef NEED_DEPS
ifneq ($(AUTO_DEPS),)
-include $(AUTO_DEPS)
endif
endif
autodeps :
@$(ECHO) $(AUTO_DEPS)
VERYCLEANUP += $(BIN)/deps
@ -636,8 +638,10 @@ MEDIA_DEPS = $(patsubst %,$(BIN)/deps/%.media.d,$(AUTO_MEDIA))
mediadeps :
@$(ECHO) $(MEDIA_DEPS)
ifdef NEED_DEPS
ifneq ($(MEDIA_DEPS),)
-include $(MEDIA_DEPS)
endif
endif
# Wrap up binary blobs (for embedded images)
#