Moved Hunt the Wumpus to more descriptive directory name.
[vvhitespace] / examples / hunt-the-wumpus / Makefile
diff --git a/examples/hunt-the-wumpus/Makefile b/examples/hunt-the-wumpus/Makefile
new file mode 100644 (file)
index 0000000..1fec45e
--- /dev/null
@@ -0,0 +1,17 @@
+# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
+# See LICENSE.txt file for copyright and license details.
+
+include ../config.mk
+
+all: wump
+
+wump:
+       $(CPP) $(CPP_FLAGS) -o temp.pvvs wump.pvvs
+       $(VVS_COMPILER) -i temp.pvvs -o wump.vvs
+       @rm -f temp.pvvs
+
+run: wump
+       $(VVS_INTERPRETER) -i wump.vvs
+
+clean:
+       @rm -f wump.vvs temp.pvvs