From 1e7043a20bfe874c2183989054a9a7daf788e582 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 22 Jan 2006 21:30:32 +0000 Subject: Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657 --- apps/bitmaps/mono/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 apps/bitmaps/mono/Makefile (limited to 'apps/bitmaps/mono/Makefile') diff --git a/apps/bitmaps/mono/Makefile b/apps/bitmaps/mono/Makefile new file mode 100644 index 0000000000..ec75520735 --- /dev/null +++ b/apps/bitmaps/mono/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# 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-mono + +BMP2RB = $(BMP2RB_MONO) +OUTPUT = $(BUILDDIR)/libbitmapsmono.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning bitmaps/mono" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) -- cgit v1.2.3