diff options
Diffstat (limited to 'xsd/dist/examples/cxx/tree/order/element/makefile')
-rw-r--r-- | xsd/dist/examples/cxx/tree/order/element/makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xsd/dist/examples/cxx/tree/order/element/makefile b/xsd/dist/examples/cxx/tree/order/element/makefile new file mode 100644 index 0000000..31f5ec5 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/order/element/makefile @@ -0,0 +1,31 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-serialization --generate-wildcard --ordered-type batch + + +# Build. +# +driver: driver.o transactions.o + +transactions.o: transactions.cxx transactions.hxx +driver.o: driver.cxx transactions.hxx + +transactions.cxx transactions.hxx: transactions.xsd + + +# Test +# +.PHONY: test +test: driver transactions.xml + ./driver transactions.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f transactions.o transactions.?xx driver.o driver |