Changeset - r11004:c3324735a1cb
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2009-02-04 23:40:01
rubidium@openttd.org
(svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Makefile.src.in
Show inline comments
 
@@ -43,7 +43,7 @@ OBJS     := $(OBJS_C) $(OBJS_CPP) $(OBJS
 
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--;                       \
 
			}                               \
0 comments (0 inline, 0 general)