summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-06 00:48:19 +0000
committertruebrain <truebrain@openttd.org>2009-01-06 00:48:19 +0000
commitae0c25e530e409660c11e33406b6c546dec77197 (patch)
treeb1ae6cf1c7d72d2f3ddcf479221e58f6e2908e23 /Makefile.src.in
parent1a12ec43870e2252b4944dce65f586504b4145f4 (diff)
downloadopenttd-ae0c25e530e409660c11e33406b6c546dec77197.tar.xz
(svn r14856) -Fix: allow 'makedepend' to find header files in the lang-obj-dir
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index d6d268d9a..dd88b6b8f 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -48,6 +48,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)
+CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR)
ENDIAN_TARGETS := endian_target.h $(ENDIAN_CHECK)