summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2011-03-04 22:34:10 +0000
committerglx <glx@openttd.org>2011-03-04 22:34:10 +0000
commit7f54c59a66ddec3fa1bb6b730f580b6189adcdc8 (patch)
tree035812b6ca312cf338da41fafbf95aa5e14dccf7 /Makefile.src.in
parent150b5c0bf75074b6e7aa508346839036ea234620 (diff)
downloadopenttd-7f54c59a66ddec3fa1bb6b730f580b6189adcdc8.tar.xz
(svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index d03ecbd69..a40cbffb6 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -23,6 +23,7 @@ BIN_DIR = !!BIN_DIR!!
LANG_DIR = !!LANG_DIR!!
SRC_OBJS_DIR = !!SRC_OBJS_DIR!!
LANG_OBJS_DIR = !!LANG_OBJS_DIR!!
+SETTING_OBJS_DIR= !!SETTING_OBJS_DIR!!
SRC_DIR = !!SRC_DIR!!
SCRIPT_SRC_DIR = !!SCRIPT_SRC_DIR!!
MEDIA_DIR = !!MEDIA_DIR!!
@@ -57,7 +58,7 @@ FILE_DEP := $(CONFIG_CACHE_COMPILER) endian_target.h
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 += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR)
ifdef SCRIPT_SRC_DIR
CFLAGS_MAKEDEP += -I $(SCRIPT_SRC_DIR)