FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / demac / libdemac / Makefile
blob6ef55d7fb98bc323ff1cec78fc18c1ba24976a30
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 INCLUDES=-I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \
11 -I$(FIRMDIR)/common -I$(FIRMDIR)/drivers -I$(BUILDDIR)
13 ifdef APPEXTRA
14 INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
15 endif
17 DEMACOPTS = -O3 -DROCKBOX
18 CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(DEMACOPTS) $(TARGET) \
19 $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
21 # This sets up 'SRC' based on the files mentioned in SOURCES
22 include $(TOOLSDIR)/makesrc.inc
24 SOURCES = $(SRC)
25 OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o)
26 OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2))
27 DEPFILE = $(OBJDIR)/dep-libdemac
28 DIRS =
30 all: $(OUTPUT)
32 $(OUTPUT): $(OBJS)
33 $(call PRINTS,AR+RANLIB $(@F))$(AR) ruv $@ $+ >/dev/null 2>&1
34 $(SILENT)$(RANLIB) $@
36 include $(TOOLSDIR)/make.inc
38 clean:
39 $(call PRINTS,cleaning libdemac)rm -f $(OBJS) $(OUTPUT) $(DEPFILE)
41 ifneq ($(MAKECMDGOALS),clean)
42 -include $(DEPFILE)
43 endif