summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-20 06:40:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-20 06:40:13 +0000
commitdf64d96e7de0afe5de99ad32bacf00766f648b38 (patch)
tree27cff299cbe7246e2b4a5a22f65601ebfc16be71
parentebe963d5540b7669ca30d747f17d1d37addf90de (diff)
downloadrockbox-df64d96e7de0afe5de99ad32bacf00766f648b38.tar.gz
rockbox-df64d96e7de0afe5de99ad32bacf00766f648b38.tar.bz2
rockbox-df64d96e7de0afe5de99ad32bacf00766f648b38.zip
use uplang first, then genlang the new file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2342 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 3f99798e67..1cd080e06b 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -72,7 +72,10 @@ $(OBJDIR)/%.o: %.c
@mkdir -p `dirname $@`
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/lang.o: lang/$(LANGUAGE).lang
+$(OBJDIR)/build.lang: lang/$(LANGUAGE).lang
+ ../tools/uplang lang/english.lang $< > $@
+
+$(OBJDIR)/lang.o: $(OBJDIR)/build.lang
../tools/genlang -p=$(OBJDIR)/lang $<
$(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@