summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/streaming/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/streaming/makefile')
-rw-r--r--dist/examples/cxx/tree/streaming/makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/dist/examples/cxx/tree/streaming/makefile b/dist/examples/cxx/tree/streaming/makefile
index 40d2dd6..ed32b83 100644
--- a/dist/examples/cxx/tree/streaming/makefile
+++ b/dist/examples/cxx/tree/streaming/makefile
@@ -4,28 +4,30 @@ include $(root)/build/cxx/rules.make
include $(root)/build/xsd/tree-rules.make
-override XSDFLAGS += --generate-serialization --suppress-parsing --root-element-all
+override XSDFLAGS += --generate-serialization
# Build.
#
-driver: driver.o records.o
+driver: driver.o parser.o serializer.o position.o
-records.o: records.cxx records.hxx
-driver.o: driver.cxx records.hxx
+position.o: position.cxx position.hxx
+driver.o: driver.cxx position.hxx parser.hxx serializer.hxx
+parser.o: parser.cxx parser.hxx
+serializer.o: serializer.cxx serializer.hxx
-records.cxx records.hxx: records.xsd
+position.cxx position.hxx: position.xsd
# Test
#
.PHONY: test
-test: driver
- ./driver
+test: driver position.xml
+ ./driver position.xml
# Clean.
#
.PHONY: clean
clean:
- rm -f records.o records.?xx driver.o driver out.xml
+ rm -f position.o position.?xx parser.o serializer.o driver.o driver out.xml