summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-03-05 10:13:14 +0000
committerrubidium <rubidium@openttd.org>2011-03-05 10:13:14 +0000
commitba28937b3d2231cb5940622be617bfd98cc1bdf9 (patch)
tree954e37d393635d9e10058172cdb3b3344abffeb1
parent8b9f99ec4488fb388478ef5f36bc68e412196523 (diff)
downloadopenttd-ba28937b3d2231cb5940622be617bfd98cc1bdf9.tar.xz
(svn r22195) -Fix (r22188): make sure makedep picks up the newly generated settings.h so settings.cpp gets recompiled when needed
-rw-r--r--Makefile.src.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index a40cbffb6..0e42012bd 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -59,7 +59,7 @@ RES := $(shell mkdir -p $(BIN_DIR) $(sort $(dir $(OBJS))))
# Make sure endian_target.h is reasable as if it was in the src/ dir
CFLAGS += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
-CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR)
+CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
ifdef SCRIPT_SRC_DIR
CFLAGS_MAKEDEP += -I $(SCRIPT_SRC_DIR)
endif