summaryrefslogtreecommitdiff
path: root/apps/codecs
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 /apps/codecs
parent9cba5b64dc32ebcddaa72a7d4ce7440df6fc2e7b (diff)
Add liba52 to the codec build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5976 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-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
INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
endif
-all: $(OBJDIR)/libmad.a
+all: $(OBJDIR)/libmad.a $(OBJDIR)/liba52.a
include $(TOOLSDIR)/make.inc
@@ -25,7 +25,13 @@ $(OBJDIR)/libmad.a:
@mkdir -p $(OBJDIR)/libmad
@$(MAKE) -C libmad TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
+$(OBJDIR)/liba52.a:
+ @echo "MAKE in liba52"
+ @mkdir -p $(OBJDIR)/liba52
+ @$(MAKE) -C liba52 TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
+
clean:
@echo "cleaning codecs"
- @rm -fr $(OBJDIR)/libmad
+ @rm -fr $(OBJDIR)/libmad $(OBJDIR)/liba52
@$(MAKE) -C libmad clean
+ @$(MAKE) -C liba52 clean