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/remote_native/Makefile | 32 +++++++++++++++++++++ apps/bitmaps/remote_native/SOURCES | 3 ++ .../remote_native/remote_rockboxlogo.112x37x1.bmp | Bin 0 -> 654 bytes 3 files changed, 35 insertions(+) create mode 100644 apps/bitmaps/remote_native/Makefile create mode 100644 apps/bitmaps/remote_native/SOURCES create mode 100644 apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp (limited to 'apps/bitmaps/remote_native') diff --git a/apps/bitmaps/remote_native/Makefile b/apps/bitmaps/remote_native/Makefile new file mode 100644 index 0000000000..882505ded9 --- /dev/null +++ b/apps/bitmaps/remote_native/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-remotenative + +BMP2RB = $(BMP2RB_REMOTENATIVE) +OUTPUT = $(BUILDDIR)/libbitmapsremotenative.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning bitmaps/remote_native" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/bitmaps/remote_native/SOURCES b/apps/bitmaps/remote_native/SOURCES new file mode 100644 index 0000000000..edb7c2037c --- /dev/null +++ b/apps/bitmaps/remote_native/SOURCES @@ -0,0 +1,3 @@ +#ifdef HAVE_REMOTE_LCD +remote_rockboxlogo.112x37x1.bmp +#endif diff --git a/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp b/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp new file mode 100644 index 0000000000..426d9aeef7 Binary files /dev/null and b/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp differ -- cgit v1.2.3