diff options
author | truelight <truelight@openttd.org> | 2006-08-24 12:08:25 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-24 12:08:25 +0000 |
commit | 76bcaba6011b4a3a3f2c3dcd65e3438bb46b79f0 (patch) | |
tree | 90e4385ba5c5f0ec5803661e46a5dbdf086057c6 /Makefile | |
parent | d14ac4478d35f7ae9b7ced6e78673a27a85fc878 (diff) | |
download | openttd-76bcaba6011b4a3a3f2c3dcd65e3438bb46b79f0.tar.xz |
(svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -879,17 +879,17 @@ $(TTD): $(OBJS) $(MAKE_CONFIG) $(Q)$(CXX_TARGET) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@ endif -$(STRGEN): strgen/strgen.c endian_host.h +$(STRGEN): strgen/strgen.c string.c endian_host.h @echo '===> Compiling and Linking $@' - $(Q)$(CC_HOST) $(CFLAGS_HOST) $(CDEFS) $< -o $@ + $(Q)$(CC_HOST) $(CFLAGS_HOST) -DSTRGEN strgen/strgen.c string.c -o $@ table/strings.h: lang/english.txt $(STRGEN) @echo '===> Generating $@' - $(Q)$(STRGEN) + $(Q)$(STRGEN) -s lang -d table lang/%.lng: lang/%.txt $(STRGEN) lang/english.txt @echo '===> Compiling language $(*F)' - $(Q)$(STRGEN) $(STRGEN_FLAGS) $< $(LANG_ERRORS) || rm -f $@ + $(Q)$(STRGEN) $(STRGEN_FLAGS) -s lang -d lang $< $(LANG_ERRORS) || rm -f $@ # stupid KUDr doesn't know how to setup unittest dependencies (so rm,cp,rm) # please don't blame him and repair it: |