summaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/tree-rules.make
blob: 9c6a2ab02476afe370a37fbafc153e1096019a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# file      : examples/build/xsd/tree-rules.make
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

include $(root)/build/xsd/common.make

override LIBS := -lxerces-c $(LIBS)

# Rules.
#
.PRECIOUS: %.cxx %.hxx %.ixx

%.cxx %.hxx %.ixx: %.xsd
	$(XSD) cxx-tree $(XSDFLAGS) $<