Simplify makefile

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25084 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-03-09 03:20:14 +00:00
parent d2c1765800
commit c7f4773cf6

View file

@ -17,12 +17,6 @@ $(TREMORLIB): $(TREMORLIB_OBJ)
$(SILENT)$(shell rm -f $@) $(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(CODECDIR)/libtremor/%.o: $(ROOTDIR)/apps/codecs/libtremor/%.c
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) \
-I$(APPSDIR)/codecs/libtremor \
$(CODECFLAGS) $(CFLAGS) -c $< -o $@
TREMORFLAGS = -I$(APPSDIR)/codecs/libtremor $(filter-out -O%,$(CODECFLAGS)) TREMORFLAGS = -I$(APPSDIR)/codecs/libtremor $(filter-out -O%,$(CODECFLAGS))
# Tremor is slightly faster on coldfire with -O3 # Tremor is slightly faster on coldfire with -O3