From 5eaa6a0e3b5c7cc6213c438d9cec85431560e4e3 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Tue, 17 Nov 2009 00:20:45 +0100 Subject: Fix the "depend" target not being always available. --- crawl-ref/source/makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref') 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 -- cgit v1.2.3-54-g00ecf