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