summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/hello/makefile
blob: 5746c6f916656527e4f4666f76be77d951bd1b2f (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/parser-rules.make


# Build.
#
driver: driver.o hello-pskel.o

driver.o: driver.cxx hello-pskel.hxx
hello-pskel.o: hello-pskel.cxx hello-pskel.hxx

hello-pskel.hxx hello-pskel.cxx: hello.xsd


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


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