aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/custom/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/custom/makefile')
-rw-r--r--dist/examples/cxx/tree/custom/makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/dist/examples/cxx/tree/custom/makefile b/dist/examples/cxx/tree/custom/makefile
new file mode 100644
index 0000000..350d0ab
--- /dev/null
+++ b/dist/examples/cxx/tree/custom/makefile
@@ -0,0 +1,15 @@
+dirs := comments contacts double taxonomy wildcard
+
+ifeq ($(WITH_BOOST),1)
+dirs += calendar
+endif
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+% :: $(dirs) ;