diff options
author | alberth <alberth@openttd.org> | 2011-02-18 20:52:42 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-02-18 20:52:42 +0000 |
commit | ff1e0a3ed362e13b05e3e722990e55efa688e31a (patch) | |
tree | 332abcc5ccb8b25a5b01ac44d5bc17963745b56f /Makefile.lang.in | |
parent | 41a67a9b94a6bb17d7160c67e05aea01e3bb08a7 (diff) | |
download | openttd-ff1e0a3ed362e13b05e3e722990e55efa688e31a.tar.xz |
(svn r22102) -Codechange: Also use the getopt function in strgen.
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 cec40e77e..9ef97586d 100644 --- a/Makefile.lang.in +++ b/Makefile.lang.in @@ -54,11 +54,15 @@ alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h $(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)' $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $< +getoptdata.o: $(SRC_DIR)/misc/getoptdata.cpp $(SRC_DIR)/misc/getoptdata.h + $(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/misc/%.cpp=%.cpp)' + $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $< + 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 +$(STRGEN): alloc_func.o string.o strgen.o getoptdata.o $(E) '$(STAGE) Compiling and Linking $@' $(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@ |