summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/xpath/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/xpath/makefile')
-rw-r--r--dist/examples/cxx/tree/xpath/makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/dist/examples/cxx/tree/xpath/makefile b/dist/examples/cxx/tree/xpath/makefile
new file mode 100644
index 0000000..d5f2833
--- /dev/null
+++ b/dist/examples/cxx/tree/xpath/makefile
@@ -0,0 +1,30 @@
+root := ../../..
+
+include $(root)/build/cxx/rules.make
+include $(root)/build/xsd/tree-rules.make
+
+override LIBS += -lxqilla
+
+# Build.
+#
+driver: driver.o people.o dom-parse.o
+
+people.o: people.cxx people.hxx
+driver.o: driver.cxx people.hxx dom-parse.hxx
+people.o: dom-parse.cxx dom-parse.hxx
+
+people.cxx people.hxx: people.xsd
+
+
+# Test
+#
+.PHONY: test
+test: driver people.xml
+ ./driver people.xml
+
+
+# Clean.
+#
+.PHONY: clean
+clean:
+ rm -f people.o people.?xx driver.o dom-parse.o driver