summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/performance/makefile
blob: a98e86a0c6bfc772ee42a6220ba921c92067343f (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
root := ../../..

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

override XSDFLAGS += --generate-inline

# Build.
#
driver: driver.o test-pskel.o time.o

driver.o: driver.cxx test-pskel.hxx test-pskel.ixx time.hxx
test-pskel.o: test-pskel.cxx test-pskel.hxx test-pskel.ixx
time.o: time.cxx time.hxx

test-pskel.hxx test-pskel.ixx test-pskel.cxx: test.xsd


# Test.
#
.PHONY: test
test: driver test-50k.xml
	./driver test-50k.xml


# Clean.
#
.PHONY: clean
clean:
	rm -f test-pskel.?xx test-pskel.o driver.o time.o driver