summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-19 12:00:43 +0000
committerDave Chapman <dave@dchapman.com>2005-02-19 12:00:43 +0000
commit1839a956ba67fc601706bfd9d5f46a22c60bfc70 (patch)
treeb005de0947299a005a78078734f9ab6bcfcd5122 /apps/codecs
parent52e43cb6e164627993dc1ef4edc0eeb0bd7f21dd (diff)
Add Tremor to the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6016 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/codecs/Makefile b/apps/codecs/Makefile
index 863d552a1e..20abb1b513 100644
--- a/apps/codecs/Makefile
+++ b/apps/codecs/Makefile
@@ -16,7 +16,9 @@ ifdef APPEXTRA
INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
endif
-all: $(OBJDIR)/libmad.a $(OBJDIR)/liba52.a $(OBJDIR)/libFLAC.a
+OUTPUT = $(OBJDIR)/libmad.a $(OBJDIR)/liba52.a $(OBJDIR)/libFLAC.a $(OBJDIR)/libTremor.a
+
+all: $(OUTPUT)
include $(TOOLSDIR)/make.inc
@@ -35,9 +37,15 @@ $(OBJDIR)/libFLAC.a:
@mkdir -p $(OBJDIR)/libFLAC
@$(MAKE) -C libFLAC TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
+$(OBJDIR)/libTremor.a:
+ @echo "MAKE in Tremor"
+ @mkdir -p $(OBJDIR)/Tremor
+ @$(MAKE) -C Tremor TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEMORYSIZE}
+
clean:
@echo "cleaning codecs"
- @rm -fr $(OBJDIR)/libmad $(OBJDIR)/liba52 $(OBJDIR)/libFLAC
+ @rm -fr $(OBJDIR)/libmad $(OBJDIR)/liba52 $(OBJDIR)/libFLAC $(OBJDIR)/Tremor
@$(MAKE) -C libmad clean
@$(MAKE) -C liba52 clean
@$(MAKE) -C libFLAC clean
+ @$(MAKE) -C Tremor clean