summaryrefslogtreecommitdiff
path: root/xsd/dist/examples/cxx/tree/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/dist/examples/cxx/tree/makefile')
-rw-r--r--xsd/dist/examples/cxx/tree/makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/xsd/dist/examples/cxx/tree/makefile b/xsd/dist/examples/cxx/tree/makefile
new file mode 100644
index 0000000..8c23fef
--- /dev/null
+++ b/xsd/dist/examples/cxx/tree/makefile
@@ -0,0 +1,24 @@
+dirs := binary caching embedded custom hello library messaging mixed \
+multiroot performance polymorphism streaming wildcard
+
+ifeq ($(WITH_ZLIB),1)
+dirs += compression
+endif
+
+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) ;