summaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/tree-rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/build/xsd/tree-rules.make')
-rw-r--r--dist/examples/build/xsd/tree-rules.make15
1 files changed, 15 insertions, 0 deletions
diff --git a/dist/examples/build/xsd/tree-rules.make b/dist/examples/build/xsd/tree-rules.make
new file mode 100644
index 0000000..3c90af7
--- /dev/null
+++ b/dist/examples/build/xsd/tree-rules.make
@@ -0,0 +1,15 @@
+# file : examples/build/xsd/tree-rules.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2006 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) $<