summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-20 15:34:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-20 15:34:19 +0000
commit28185e60becb50b2d7acd6a72f42275c86cbbe9c (patch)
tree4eae6ef5dd6b2654ff4c23191943105211b8f730
parent45b4a4d891a318a276bf3be6fc9e8c74e4e4481d (diff)
genlang needs perl -s, and I added some files to the clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2359 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index c20b78aa33..88fd32bafd 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -76,7 +76,7 @@ $(OBJDIR)/build.lang: lang/$(LANGUAGE).lang
perl ../tools/uplang lang/english.lang $< > $@
$(OBJDIR)/lang.o: $(OBJDIR)/build.lang
- perl ../tools/genlang -p=$(OBJDIR)/lang $<
+ perl -s ../tools/genlang -p=$(OBJDIR)/lang $<
$(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@
dist:
@@ -84,7 +84,8 @@ dist:
clean:
-rm -f $(OBJS) $(OBJDIR)/$(OUTNAME) $(OBJDIR)/archos.asm \
- $(OBJDIR)/archos.bin $(OBJDIR)/archos.elf $(OBJDIR)/archos.map
+ $(OBJDIR)/archos.bin $(OBJDIR)/archos.elf $(OBJDIR)/archos.map \
+ $(OBJDIR)/lang.o $(OBJDIR)/build.lang $(OBJDIR)/lang.[ch]
-$(RM) -r $(OBJDIR)/$(DEPS)
DEPS:=.deps