summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/libtremor.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/libtremor.make')
-rw-r--r--apps/codecs/libtremor/libtremor.make13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/codecs/libtremor/libtremor.make b/apps/codecs/libtremor/libtremor.make
index e6816aa604..586c703346 100644
--- a/apps/codecs/libtremor/libtremor.make
+++ b/apps/codecs/libtremor/libtremor.make
@@ -16,16 +16,3 @@ OTHER_SRC += $(TREMORLIB_SRC)
16$(TREMORLIB): $(TREMORLIB_OBJ) 16$(TREMORLIB): $(TREMORLIB_OBJ)
17 $(SILENT)$(shell rm -f $@) 17 $(SILENT)$(shell rm -f $@)
18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null 18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
19
20TREMORFLAGS = -I$(APPSDIR)/codecs/libtremor $(filter-out -O%,$(CODECFLAGS))
21
22# Tremor is slightly faster on coldfire with -O3
23ifeq ($(CPU),coldfire)
24 TREMORFLAGS += -O3
25else
26 TREMORFLAGS += -O2
27endif
28
29$(CODECDIR)/libtremor/%.o: $(ROOTDIR)/apps/codecs/libtremor/%.c
30 $(SILENT)mkdir -p $(dir $@)
31 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(TREMORFLAGS) -c $< -o $@