summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/bmp/bmp.make
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-02-18 15:10:31 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-02-18 15:10:31 +0000
commitc4eea8f11fa2386cafb20e22fe5451106b5ade52 (patch)
tree965493dbe6468ac3d7c0d4c5ede9eb76a7b72630 /apps/plugins/imageviewer/bmp/bmp.make
parent2a4bbde44e0be06e0832f9f23adefaaabf47e494 (diff)
downloadrockbox-c4eea8f11fa2386cafb20e22fe5451106b5ade52.zip
rockbox-c4eea8f11fa2386cafb20e22fe5451106b5ade52.tar.gz
rockbox-c4eea8f11fa2386cafb20e22fe5451106b5ade52.tar.bz2
rockbox-c4eea8f11fa2386cafb20e22fe5451106b5ade52.tar.xz
FS#10535: bmp viewer plugin.
* changed bmp.c so that it loads bitmap larger than LCD correctly. * removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/imageviewer/bmp/bmp.make')
-rw-r--r--apps/plugins/imageviewer/bmp/bmp.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/bmp/bmp.make b/apps/plugins/imageviewer/bmp/bmp.make
new file mode 100644
index 0000000..0582ba3
--- /dev/null
+++ b/apps/plugins/imageviewer/bmp/bmp.make
@@ -0,0 +1,21 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+
+BMPSRCDIR := $(IMGVSRCDIR)/bmp
+BMPBUILDDIR := $(IMGVBUILDDIR)/bmp
+
+ROCKS += $(BMPBUILDDIR)/bmp.rock
+
+BMP_SRC := $(call preprocess, $(BMPSRCDIR)/SOURCES)
+BMP_OBJ := $(call c2obj, $(BMP_SRC))
+
+# add source files to OTHER_SRC to get automatic dependencies
+OTHER_SRC += $(BMP_SRC)
+
+$(BMPBUILDDIR)/bmp.rock: $(BMP_OBJ)