summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/order/element/makefile
blob: 31f5ec53ffce12cf925e83173722034fd281ae15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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