summaryrefslogtreecommitdiff
path: root/dist/examples/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/makefile')
-rw-r--r--dist/examples/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/examples/makefile b/dist/examples/makefile
new file mode 100644
index 0000000..5b8947e
--- /dev/null
+++ b/dist/examples/makefile
@@ -0,0 +1,11 @@
+dirs := cxx
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+% :: $(dirs) ;