aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/streaming/nmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/streaming/nmakefile')
-rw-r--r--dist/examples/cxx/hybrid/streaming/nmakefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/dist/examples/cxx/hybrid/streaming/nmakefile b/dist/examples/cxx/hybrid/streaming/nmakefile
index a981d82..25e6e1b 100644
--- a/dist/examples/cxx/hybrid/streaming/nmakefile
+++ b/dist/examples/cxx/hybrid/streaming/nmakefile
@@ -48,15 +48,25 @@ position-sskel.cxx position-sskel.hxx position-simpl.cxx position-simpl.hxx \
--custom-parser object=/object-pimpl.hxx \
--custom-serializer object=/object-simpl.hxx position.xsd
+
+# Generate.
+#
+gen: position.hxx
+
+
# Test.
#
test: driver.exe position.xml
.\driver.exe position.xml
+
# Clean.
#
-clean:
+cleanobj:
+ -del object-pimpl.obj object-simpl.obj position-pimpl.obj \
+position-pskel.obj position-simpl.obj position-sskel.obj position.obj \
+driver.obj driver.exe
+
+clean: cleanobj
-del position-pimpl.?xx position-pskel.?xx position-simpl.?xx \
-position-sskel.?xx position.?xx object-pimpl.obj object-simpl.obj \
-position-pimpl.obj position-pskel.obj position-simpl.obj position-sskel.obj \
-position.obj driver.obj driver.exe
+position-sskel.?xx position.?xx