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/plugins/bitmaps/mono/Makefile | 32 ++++++++++++++++++++++++++++++++ apps/plugins/bitmaps/mono/SOURCES | 0 2 files changed, 32 insertions(+) create mode 100644 apps/plugins/bitmaps/mono/Makefile create mode 100644 apps/plugins/bitmaps/mono/SOURCES (limited to 'apps/plugins/bitmaps/mono') diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile new file mode 100644 index 0000000000..54c06770b8 --- /dev/null +++ b/apps/plugins/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)/libpluginbitmapsmono.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/mono" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/plugins/bitmaps/mono/SOURCES b/apps/plugins/bitmaps/mono/SOURCES new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3