changeset 11004:48aced5a73d8 draft

(svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h.
author rubidium <rubidium@openttd.org>
date Wed, 04 Feb 2009 23:40:01 +0000
parents 486f6053d57c
children 3da26d1d540d
files Makefile.src.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -43,7 +43,7 @@
 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 @@
 	/:/ {                               \
 		left = NF - 1;                    \
 		for (n = 2; n <= NF; n++) {       \
-			if (match($$n, "^$(SRC_DIR)") == 0) { \
+			if (match($$n, "^$(ROOT_DIR)") == 0) { \
 				$$n = "";                     \
 				left--;                       \
 			}                               \