summaryrefslogtreecommitdiff
path: root/apps/plugins/xrick/xrick.make
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2016-01-08 01:05:36 +0100
committerSolomon Peachy <pizza@shaftnet.org>2024-06-30 17:24:16 -0400
commit102c3742487dba76ec72d5f56a2c3041344b2d68 (patch)
tree4931ad34d2cc0bac56d9984b9ead355d012ad63a /apps/plugins/xrick/xrick.make
parent6f1e67e5e318ba2fd0f5ec1892c7b6633ec6521c (diff)
downloadrockbox-102c3742487dba76ec72d5f56a2c3041344b2d68.tar.gz
rockbox-102c3742487dba76ec72d5f56a2c3041344b2d68.zip
added xrick game
original xrick code by 'BigOrno' at: http://www.bigorno.net/xrick/ Rockbox port, plus bugfixes at: https://github.com/pierluigi-vicinanza/xrick Further changes: * Additonal fixes from g#3026 * Port to modern plugin API * Add Pluginlib keymap fallback * Support all >1bpp screens * Fix build warnings in miniz * Better error message when resources are missing Change-Id: Id83928bc2539901b0221692f65cbca41389c58e7
Diffstat (limited to 'apps/plugins/xrick/xrick.make')
-rw-r--r--apps/plugins/xrick/xrick.make31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/plugins/xrick/xrick.make b/apps/plugins/xrick/xrick.make
new file mode 100644
index 0000000000..26406a957d
--- /dev/null
+++ b/apps/plugins/xrick/xrick.make
@@ -0,0 +1,31 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9
10XRICKSRCDIR := $(APPSDIR)/plugins/xrick
11XRICKBUILDDIR := $(BUILDDIR)/apps/plugins/xrick
12
13INCLUDES += -I$(XRICKSRCDIR)../ \
14 -I$(XRICKSRCDIR)/3rd_party
15
16ROCKS += $(XRICKBUILDDIR)/xrick.rock
17
18XRICK_SRC := $(call preprocess, $(XRICKSRCDIR)/SOURCES)
19XRICK_OBJ := $(call c2obj, $(XRICK_SRC))
20
21# add source files to OTHER_SRC to get automatic dependencies
22OTHER_SRC += $(XRICK_SRC)
23
24XRICKCFLAGS = $(PLUGINFLAGS) -std=gnu99 -O2
25
26$(XRICKBUILDDIR)/xrick.rock: $(XRICK_OBJ)
27
28# new rule needed to use extra compile flags
29$(XRICKBUILDDIR)/%.o: $(XRICKSRCDIR)/%.c
30 $(SILENT)mkdir -p $(dir $@)
31 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(XRICKCFLAGS) -c $< -o $@