summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-21 01:23:30 +0000
committerDave Chapman <dave@dchapman.com>2006-02-21 01:23:30 +0000
commit95538f694901263d7a5282901acb73958082ea82 (patch)
tree78eeb5df5820216e2b61756b0e14cf92b1f94ae1 /apps/plugins/Makefile
parentd04dbca00b2f288aa02978623cf9f412fb09c56b (diff)
downloadrockbox-95538f694901263d7a5282901acb73958082ea82.zip
rockbox-95538f694901263d7a5282901acb73958082ea82.tar.gz
rockbox-95538f694901263d7a5282901acb73958082ea82.tar.bz2
rockbox-95538f694901263d7a5282901acb73958082ea82.tar.xz
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index f7bd102..404f166 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -8,7 +8,8 @@
#
INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
- -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR)
+ -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) \
+ -I$(BUILDDIR)/pluginbitmaps
CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \
-DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN
@@ -72,6 +73,10 @@ endif
.PHONY: $(SUBDIRS)
all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE)
+$(DEPFILE): $(BITMAPLIBS)
+
+dep: $(DEPFILE)
+
$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS
@echo "create credits.raw"
$(SILENT)perl credits.pl < $< > $@
@@ -197,5 +202,6 @@ clean:
$(SILENT)$(MAKE) -C bitmaps/remote_native clean OBJDIR=$(OBJDIR)/bitmaps/remote_native
$(SILENT)$(MAKE) -C rockboy clean OBJDIR=$(OBJDIR)/rockboy
$(SILENT)$(MAKE) -C searchengine clean OBJDIR=$(OBJDIR)/searchengine
+ @rm -rf $(BUILDDIR)/pluginbitmaps
-include $(DEPFILE)