From 018e1ba581ec6f01f069a45ec4cf89f152b44d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Mar 2025 15:41:36 +0100 Subject: remerge --- xsd/dist/examples/cxx/tree/multiroot/makefile | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 xsd/dist/examples/cxx/tree/multiroot/makefile (limited to 'xsd/dist/examples/cxx/tree/multiroot/makefile') diff --git a/xsd/dist/examples/cxx/tree/multiroot/makefile b/xsd/dist/examples/cxx/tree/multiroot/makefile new file mode 100644 index 0000000..d94da7f --- /dev/null +++ b/xsd/dist/examples/cxx/tree/multiroot/makefile @@ -0,0 +1,33 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + +override XSDFLAGS += --root-element-all + + +# Build. +# +driver: driver.o dom-parse.o protocol.o + +protocol.o: protocol.cxx protocol.hxx +dom-parse.o: dom-parse.cxx dom-parse.hxx +driver.o: driver.cxx dom-parse.hxx protocol.hxx + +protocol.cxx protocol.hxx: protocol.xsd + + +# Test +# +.PHONY: test +test: driver balance.xml withdraw.xml deposit.xml + ./driver balance.xml + ./driver withdraw.xml + ./driver deposit.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f protocol.o protocol.?xx dom-parse.o driver.o driver -- cgit v1.2.3