RaaA: Improve tagcache search to make the database built.
[maemo-rb.git] / apps / codecs / libspc / libspc.make
blob63360af1b10af6cbeb64b3b5767f89b4ec2553e5
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 # libspc
11 SPCLIB := $(CODECDIR)/libspc.a
12 SPCLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libspc/SOURCES)
13 SPCLIB_OBJ := $(call c2obj, $(SPCLIB_SRC))
14 OTHER_SRC += $(SPCLIB_SRC)
16 $(SPCLIB): $(SPCLIB_OBJ)
17 $(SILENT)$(shell rm -f $@)
18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
20 SPCFLAGS = $(filter-out -O%,$(CODECFLAGS)) -fno-strict-aliasing
21 SPCFLAGS += -O1
23 $(CODECDIR)/libspc/%.o: $(ROOTDIR)/apps/codecs/libspc/%.c
24 $(SILENT)mkdir -p $(dir $@)
25 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(SPCFLAGS) -c $< -o $@