summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-21 11:34:07 +0000
committertron <tron@openttd.org>2004-11-21 11:34:07 +0000
commit2a3969695b8b210eb288e7f39d85616da217f896 (patch)
treefb5f9e20380c02d85dce59f6d1b984a490e755cf /Makefile
parent57adc97733fc0cc226f7d8f71c7e6b62dab690e0 (diff)
downloadopenttd-2a3969695b8b210eb288e7f39d85616da217f896.tar.xz
(svn r725) Fix language file dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0e97621bc..8c8acc682 100644
--- a/Makefile
+++ b/Makefile
@@ -623,13 +623,11 @@ $(STRGEN): strgen/strgen.c
@echo 'Compiling and Linking $@'; \
$(CC) $(BASECFLAGS) $(CDEFS) -o $@ $^ $(VERBOSE_FILTER)
-lang/english.lng: lang/english.txt $(STRGEN)
+table/strings.h: lang/english.txt $(STRGEN)
@echo 'Generating $@'; \
$(STRGEN)
-table/strings.h: lang/english.lng
-
-lang/%.lng: lang/%.txt $(STRGEN)
+lang/%.lng: lang/%.txt $(STRGEN) table/strings.h
@echo 'Generating $@'; \
$(STRGEN) $(STRGEN_FLAGS) $< $(VERBOSE_FILTER) $(LANG_ERRORS)