2006-01-22 21:30:32 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \
|
|
|
|
-I$(OBJDIR)
|
|
|
|
CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES)
|
|
|
|
|
|
|
|
# This sets up 'SRC' based on the files mentioned in SOURCES
|
|
|
|
include $(TOOLSDIR)/makesrc.inc
|
|
|
|
|
|
|
|
SOURCES = $(SRC)
|
|
|
|
CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c)
|
|
|
|
OBJS := $(CSRC:%.c=%.o)
|
|
|
|
DEPFILE = $(OBJDIR)/dep-bitmaps-native
|
|
|
|
|
|
|
|
BMP2RB = $(BMP2RB_NATIVE)
|
|
|
|
OUTPUT = $(BUILDDIR)/libbitmapsnative.a
|
2006-02-21 01:23:30 +00:00
|
|
|
BMPINCDIR = $(BUILDDIR)/bitmaps
|
2006-01-22 21:30:32 +00:00
|
|
|
|
|
|
|
include $(TOOLSDIR)/makebmp.inc
|
|
|
|
|
|
|
|
clean:
|
2006-10-27 21:48:06 +00:00
|
|
|
$(call PRINTS,cleaning bitmaps/native)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
|
|
|
|
$(SILENT)rmdir $(OBJDIR)
|
2006-01-22 21:30:32 +00:00
|
|
|
|
|
|
|
-include $(DEPFILE)
|