diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-13 11:29:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-13 11:29:26 +0200 |
commit | afebd79d44b75aed3b38e867c65330ba80ddc0ee (patch) | |
tree | 7fc95caae113884defce1ac712f93327f58f72e0 /dist/examples/cxx/tree/streaming/makefile | |
parent | 0b21758fcd9f3127e30a1c9172c4c27b46a2b957 (diff) |
Extended the streaming example
It now shows how to perform stream-oriented, partially in-memory XML
processing using the C++/Tree mapping.
Diffstat (limited to 'dist/examples/cxx/tree/streaming/makefile')
-rw-r--r-- | dist/examples/cxx/tree/streaming/makefile | 18 |
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 |