summaryrefslogtreecommitdiff
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
commit00b3d6f923b414e20bd7c5d3370e94abf9637605 (patch)
treeb1ae6cf1c7d72d2f3ddcf479221e58f6e2908e23
parent63e47ed480af2a6de68c4ddc9de76db0ee752051 (diff)
downloadopenttd-00b3d6f923b414e20bd7c5d3370e94abf9637605.tar.xz
(svn r14856) -Fix: allow 'makedepend' to find header files in the lang-obj-dir
-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)