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

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


# 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