aboutsummaryrefslogtreecommitdiff
path: root/examples/game/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/game/Makefile')
-rw-r--r--examples/game/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/game/Makefile b/examples/game/Makefile
new file mode 100644
index 00000000..7cf46ce6
--- /dev/null
+++ b/examples/game/Makefile
@@ -0,0 +1,17 @@
+
+
+game: game.tm box.tm color.tm player.tm world.tm
+ tomo -e game.tm
+
+# Disable built-in makefile rules:
+%: %.c
+%.o: %.c
+%: %.o
+
+clean:
+ rm -vf game *.tm.*
+
+play: game
+ ./game
+
+.PHONY: play, clean