]> git.cworth.org Git - lmno.games/blobdiff - empathy/Makefile
Initial framework for an Empathy game
[lmno.games] / empathy / Makefile
diff --git a/empathy/Makefile b/empathy/Makefile
new file mode 100644 (file)
index 0000000..9f07401
--- /dev/null
@@ -0,0 +1,12 @@
+# Defer all targets up to the upper-level
+#
+# This requires two recipes. The first to cover the case of no
+# explicit target specifed (so when invoked as "make" we call "make"
+# at the upper-level) and then a .DEFAULT recipe to pass any explicit
+# target up as well, (so that an invocation of "make foo" results in a
+# call to "make foo" above.
+all:
+       $(MAKE) -C ..
+
+.DEFAULT:
+       $(MAKE) -C .. $@