aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/multiroot/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/parser/multiroot/nmakefile
parent8302018362ba1bc362a72ad3f6744ce6262b33af (diff)
Add gen and cleanobj targets to nmakefiles in examples
Diffstat (limited to 'dist/examples/cxx/parser/multiroot/nmakefile')
-rw-r--r--dist/examples/cxx/parser/multiroot/nmakefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/dist/examples/cxx/parser/multiroot/nmakefile b/dist/examples/cxx/parser/multiroot/nmakefile
index 05e6a7d..632b38b 100644
--- a/dist/examples/cxx/parser/multiroot/nmakefile
+++ b/dist/examples/cxx/parser/multiroot/nmakefile
@@ -41,6 +41,11 @@ protocol-pskel.hxx protocol-pskel.cxx: protocol.xsd protocol.map
--type-map protocol.map protocol.xsd
+# Generate.
+#
+gen: protocol-pskel.hxx
+
+
# Test.
#
test: driver.exe balance.xml withdraw.xml deposit.xml
@@ -50,5 +55,8 @@ test: driver.exe balance.xml withdraw.xml deposit.xml
# Clean.
#
-clean:
- -del protocol-pskel.?xx $(impl).obj protocol-pskel.obj driver.obj driver.exe
+cleanobj:
+ -del $(impl).obj protocol-pskel.obj driver.obj driver.exe
+
+clean: cleanobj
+ -del protocol-pskel.?xx