Added 'keywords' and 'eol-style' properties.
[kugel-rb.git] / apps / codecs / demac / libdemac.make
blob64afd405cee0cdafac5b7376eadf791fff6224f1
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 # libdemac
11 DEMACLIB := $(CODECDIR)/libdemac.a
12 DEMACLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/demac/libdemac/SOURCES)
13 DEMACLIB_OBJ := $(call c2obj, $(DEMACLIB_SRC))
14 OTHER_SRC += $(DEMACLIB_SRC)
16 $(DEMACLIB): $(DEMACLIB_OBJ)
17 $(SILENT)$(shell rm -f $@)
18 $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
20 DEMACFLAGS = $(filter-out -O%,$(CODECFLAGS))
21 DEMACFLAGS += -O3
23 $(CODECDIR)/demac/%.o: $(ROOTDIR)/apps/codecs/demac/%.c
24 $(SILENT)mkdir -p $(dir $@)
25 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(DEMACFLAGS) -c $< -o $@