summaryrefslogtreecommitdiff
path: root/apps/plugins/frotz/frotz.make
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-01-17 22:15:13 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-01-17 22:15:13 +0000
commit7f28c94eda576e3f972fc05468188986f2e45885 (patch)
treee03b94613028d16855a5d3df0f4853e077931214 /apps/plugins/frotz/frotz.make
parent563f2602f471208cb8544a36539a79dcceaad643 (diff)
New plugin: frotz, a Z-machine interpreter, for playing interactive fiction.
The interpreter more or less passes all the tests in the z-machine test suite. It should build for every target except Archos (for which it is disabled). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24267 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/frotz/frotz.make')
-rw-r--r--apps/plugins/frotz/frotz.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/frotz/frotz.make b/apps/plugins/frotz/frotz.make
new file mode 100644
index 0000000000..0bf4370cca
--- /dev/null
+++ b/apps/plugins/frotz/frotz.make
@@ -0,0 +1,21 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+
+FROTZSRCDIR := $(APPSDIR)/plugins/frotz
+FROTZBUILDDIR := $(BUILDDIR)/apps/plugins/frotz
+
+ROCKS += $(FROTZBUILDDIR)/frotz.rock
+
+FROTZ_SRC := $(call preprocess, $(FROTZSRCDIR)/SOURCES)
+FROTZ_OBJ := $(call c2obj, $(FROTZ_SRC))
+
+# add source files to OTHER_SRC to get automatic dependencies
+OTHER_SRC += $(FROTZ_SRC)
+
+$(FROTZBUILDDIR)/frotz.rock: $(FROTZ_OBJ)