summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/order/mixed/makefile
blob: b7929d90f4b081be5f9e570287a9c6c42967c59b (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
32
root := ../../../..

include $(root)/build/cxx/rules.make
include $(root)/build/xsd/tree-rules.make


override XSDFLAGS += --generate-serialization --ordered-type-mixed


# Build.
#
driver: driver.o text.o

text.o: text.cxx text.hxx
driver.o: driver.cxx text.hxx

text.cxx text.hxx: text.xsd


# Test
#
.PHONY: test
test: driver text.xml
	./driver text.xml


# Clean.
#
.PHONY: clean
clean:
	rm -f text.o text.?xx driver.o driver