summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
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)