FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / libasap / libasap.make
blob8054648f3d9cb410a7c19ae8bc4e38c6f3134997
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 # libasap
11 ASAPLIB := $(CODECDIR)/libasap.a
12 ASAPLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libasap/SOURCES)
13 ASAPLIB_OBJ := $(call c2obj, $(ASAPLIB_SRC))
14 OTHER_SRC += $(ASAPLIB_SRC)
16 $(ASAPLIB): $(ASAPLIB_OBJ)
17 $(SILENT)$(shell rm -f $@)
18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
20 ASAPFLAGS = $(filter-out -O%,$(CODECFLAGS))
21 ASAPFLAGS += -O1
23 $(CODECDIR)/libasap/%.o: $(ROOTDIR)/apps/codecs/libasap/%.c
24 $(SILENT)mkdir -p $(dir $@)
25 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(ASAPFLAGS) -c $< -o $@