root := ../../..

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


# Build.
#
driver: driver.o

driver.o: driver.cxx hello.hxx hello.txx

hello.hxx hello.txx: hello.xsd


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


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

