summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-16 12:52:27 +0000
committerDave Chapman <dave@dchapman.com>2005-02-16 12:52:27 +0000
commitfd58842b291d22ee53389614efd03173eeaeab94 (patch)
treed613b6c9e4b44eafc3e58be24e8ceaa001eb1c4e
parent9cba5b64dc32ebcddaa72a7d4ce7440df6fc2e7b (diff)
downloadrockbox-fd58842b291d22ee53389614efd03173eeaeab94.tar.gz
rockbox-fd58842b291d22ee53389614efd03173eeaeab94.zip
Add liba52 to the codec build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5976 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/codecs/Makefile b/apps/codecs/Makefile
index ff9db88436..805eaf55cd 100644
--- a/apps/codecs/Makefile
+++ b/apps/codecs/Makefile
@@ -16,7 +16,7 @@ ifdef APPEXTRA
16 INCLUDES += -I$(APPSDIR)/$(APPEXTRA) 16 INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
17endif 17endif
18 18
19all: $(OBJDIR)/libmad.a 19all: $(OBJDIR)/libmad.a $(OBJDIR)/liba52.a
20 20
21include $(TOOLSDIR)/make.inc 21include $(TOOLSDIR)/make.inc
22 22
@@ -25,7 +25,13 @@ $(OBJDIR)/libmad.a:
25 @mkdir -p $(OBJDIR)/libmad 25 @mkdir -p $(OBJDIR)/libmad
26 @$(MAKE) -C libmad TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE} 26 @$(MAKE) -C libmad TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
27 27
28$(OBJDIR)/liba52.a:
29 @echo "MAKE in liba52"
30 @mkdir -p $(OBJDIR)/liba52
31 @$(MAKE) -C liba52 TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
32
28clean: 33clean:
29 @echo "cleaning codecs" 34 @echo "cleaning codecs"
30 @rm -fr $(OBJDIR)/libmad 35 @rm -fr $(OBJDIR)/libmad $(OBJDIR)/liba52
31 @$(MAKE) -C libmad clean 36 @$(MAKE) -C libmad clean
37 @$(MAKE) -C liba52 clean