Fix test_boost boost handling. Also show the number of loops per second.
[kugel-rb.git] / apps / codecs / libalac / libalac.make
blobb23050f23bf86b25db2736e26a468462e1759cb7
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 # libalac
11 ALACLIB := $(CODECDIR)/libalac.a
12 ALACLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libalac/SOURCES)
13 ALACLIB_OBJ := $(call c2obj, $(ALACLIB_SRC))
14 OTHER_SRC += $(ALACLIB_SRC)
16 $(ALACLIB): $(ALACLIB_OBJ)
17 $(SILENT)$(shell rm -f $@)
18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
20 ALACFLAGS = $(filter-out -O%,$(CODECFLAGS))
21 ALACFLAGS += -O3
23 $(CODECDIR)/libalac/%.o: $(ROOTDIR)/apps/codecs/libalac/%.c
24 $(SILENT)mkdir -p $(dir $@)
25 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(ALACFLAGS) -c $< -o $@