summaryrefslogtreecommitdiff
path: root/xsd/dist/examples/cxx/tree/xpath/makefile
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-03-19 15:41:36 +0100
committerJörg Frings-Fürst <debian@jff.email>2025-03-19 15:41:36 +0100
commit018e1ba581ec6f01f069a45ec4cf89f152b44d5f (patch)
tree0e7dda4bb693a6714066fbe5efcd2f24ff7c1a65 /xsd/dist/examples/cxx/tree/xpath/makefile
parent1c188393cd2e271ed2581471b601fb5960777fd8 (diff)
remerge
Diffstat (limited to 'xsd/dist/examples/cxx/tree/xpath/makefile')
-rw-r--r--xsd/dist/examples/cxx/tree/xpath/makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/xsd/dist/examples/cxx/tree/xpath/makefile b/xsd/dist/examples/cxx/tree/xpath/makefile
new file mode 100644
index 0000000..d5f2833
--- /dev/null
+++ b/xsd/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