FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / demac / libdemac.make
blob5026fb1d950a70f2a07fe74215f570f87e42d7b4
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) rcs $@ $^ >/dev/null
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 $@