aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/serializer/hello/nmakefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-21 07:36:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-21 07:36:31 +0200
commit45acf3694bc4d111fc27310e64a3f9b2866f4822 (patch)
tree7b56c91c896c77c71608de2e52c8d4d93872d0bc /dist/examples/cxx/serializer/hello/nmakefile
parent8302018362ba1bc362a72ad3f6744ce6262b33af (diff)
Add gen and cleanobj targets to nmakefiles in examples
Diffstat (limited to 'dist/examples/cxx/serializer/hello/nmakefile')
-rw-r--r--dist/examples/cxx/serializer/hello/nmakefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/dist/examples/cxx/serializer/hello/nmakefile b/dist/examples/cxx/serializer/hello/nmakefile
index f6b83ce..f3b3d2c 100644
--- a/dist/examples/cxx/serializer/hello/nmakefile
+++ b/dist/examples/cxx/serializer/hello/nmakefile
@@ -34,6 +34,12 @@ hello-sskel.obj: hello-sskel.cxx hello-sskel.hxx
hello-sskel.cxx hello-sskel.hxx: hello.xsd
$(root)\bin\xsde.exe cxx-serializer $(XSDFLAGS) $(EXTRA_XSDFLAGS) hello.xsd
+
+# Generate.
+#
+gen: hello-sskel.hxx
+
+
# Test.
#
test: driver.exe
@@ -42,6 +48,8 @@ test: driver.exe
# Clean.
#
-clean:
- -del hello-sskel.?xx hello-sskel.obj driver.obj driver.exe
+cleanobj:
+ -del hello-sskel.obj driver.obj driver.exe
+clean: cleanobj
+ -del hello-sskel.?xx