summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2010-01-02 14:01:42 -0800
committerSteven Noonan <steven@uplinklabs.net>2010-01-02 14:01:42 -0800
commit14960780da46efe234e9b84ec712f9c168196271 (patch)
tree9b2e3f8a8497f3373b97c7b518505341efb980fd /crawl-ref/source/makefile
parent286ada1ca21538edf5a73c579d64d9ef36ea956d (diff)
downloadcrawl-ref-14960780da46efe234e9b84ec712f9c168196271.tar.gz
crawl-ref-14960780da46efe234e9b84ec712f9c168196271.zip
makefile: only include depfiles that exist
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 1 insertions, 1 deletions
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)