summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-17 00:20:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-17 00:20:45 +0100
commit5eaa6a0e3b5c7cc6213c438d9cec85431560e4e3 (patch)
tree97667e4aec5afd27888c391f7781d9d16c79568c /crawl-ref/source/makefile
parentaf5c601305bfdb1a1327156e9c8f1980f83d34d5 (diff)
downloadcrawl-ref-5eaa6a0e3b5c7cc6213c438d9cec85431560e4e3.tar.gz
crawl-ref-5eaa6a0e3b5c7cc6213c438d9cec85431560e4e3.zip
Fix the "depend" target not being always available.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 63bc786a3d..4ccb28055e 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -718,8 +718,6 @@ TRACK_CFLAGS = $(subst ','\'',$(CC) $(CXX) $(ALL_CFLAGS)) # (stray ' f
##########################################################################
# Dependencies
-ifdef USE_DEPGEN
-
DEPS := $(OBJECTS:.o=.d)
ifeq ($(shell which fastdep 2> /dev/null),)
@@ -733,8 +731,8 @@ endif
depend: $(DEPS)
+ifdef USE_DEPGEN
-include $(DEPS)
-
endif
# This information is included in crash reports, and is printed with