From 14960780da46efe234e9b84ec712f9c168196271 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 2 Jan 2010 14:01:42 -0800 Subject: makefile: only include depfiles that exist Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/makefile') diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 11b627e867..58ae0b05b1 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -744,7 +744,7 @@ TRACK_CFLAGS = $(subst ','\'',$(CC) $(CXX) $(ALL_CFLAGS)) # (stray ' f ########################################################################## # Dependencies -DEPS := $(OBJECTS:.o=.d) +DEPS := $(shell ls $(OBJECTS:.o=.d) 2> /dev/null) -include $(DEPS) -- cgit v1.2.3-54-g00ecf