summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-04 23:40:01 +0000
committerrubidium <rubidium@openttd.org>2009-02-04 23:40:01 +0000
commit364e2a110dba0c792864e55d55804681c8eb9bca (patch)
treec798bcd933f1cf566c85d29ea1a412947946ea90 /Makefile.src.in
parentb321130d9a831c88261ae3ed02686d1a1cda4085 (diff)
downloadopenttd-364e2a110dba0c792864e55d55804681c8eb9bca.tar.xz
(svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h.
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 7fe0d92eb..2aa45744a 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -43,7 +43,7 @@ OBJS := $(OBJS_C) $(OBJS_CPP) $(OBJS_MM) $(OBJS_RC)
SRCS := !!SRCS!!
# All C-files depend on those 3 files
-FILE_DEP := $(CONFIG_CACHE_COMPILER) $(LANG_OBJS_DIR)/table/strings.h endian_target.h
+FILE_DEP := $(CONFIG_CACHE_COMPILER) endian_target.h
# Create all dirs and subdirs
RES := $(shell mkdir -p $(BIN_DIR) $(sort $(dir $(OBJS))))
@@ -195,7 +195,7 @@ endif
/:/ { \
left = NF - 1; \
for (n = 2; n <= NF; n++) { \
- if (match($$n, "^$(SRC_DIR)") == 0) { \
+ if (match($$n, "^$(ROOT_DIR)") == 0) { \
$$n = ""; \
left--; \
} \