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