summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/makefile')
-rw-r--r--dist/examples/cxx/tree/makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/examples/cxx/tree/makefile b/dist/examples/cxx/tree/makefile
new file mode 100644
index 0000000..bf2b98d
--- /dev/null
+++ b/dist/examples/cxx/tree/makefile
@@ -0,0 +1,20 @@
+dirs := binary caching custom hello library messaging mixed multiroot \
+performance polymorphism streaming wildcard
+
+ifeq ($(WITH_DBXML),1)
+dirs += dbxml
+endif
+
+ifeq ($(WITH_XQILLA),1)
+dirs += xpath
+endif
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+% :: $(dirs) ;