root := ../../..

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

ifeq ($(cxx_id),hp3)
.PHONY: test clean
test clean:
	@echo C++/Parser mapping is not supported on aCC A.03.xx
else

# 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

endif # cxx_id == hp3
