diff options
author | rubidium <rubidium@openttd.org> | 2011-12-17 18:34:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-17 18:34:03 +0000 |
commit | 1f083c3ac8961158cf7788a625e1786960d590d4 (patch) | |
tree | f7c33084901af698c52c51c72c9009d5f5e5711e /Makefile.lang.in | |
parent | c97b2a5224e350380e5f31b0612bf057d1a689ab (diff) | |
download | openttd-1f083c3ac8961158cf7788a625e1786960d590d4.tar.xz |
(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files
Diffstat (limited to 'Makefile.lang.in')
-rw-r--r-- | Makefile.lang.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.lang.in b/Makefile.lang.in index 7f13f655f..fd359c6b2 100644 --- a/Makefile.lang.in +++ b/Makefile.lang.in @@ -42,6 +42,10 @@ RES := $(shell mkdir -p $(BIN_DIR)/lang ) all: table/strings.h $(LANGS) +strgen_base.o: $(SRC_DIR)/strgen/strgen_base.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h + $(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)' + $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $< + strgen.o: $(SRC_DIR)/strgen/strgen.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h $(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)' $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $< @@ -62,7 +66,7 @@ lang/english.txt: $(LANG_DIR)/english.txt $(Q)mkdir -p lang $(Q)cp $(LANG_DIR)/english.txt lang/english.txt -$(STRGEN): alloc_func.o string.o strgen.o getoptdata.o +$(STRGEN): alloc_func.o string.o strgen_base.o strgen.o getoptdata.o $(E) '$(STAGE) Compiling and Linking $@' $(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@ |