aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/mixed/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/mixed/nmakefile
parent8302018362ba1bc362a72ad3f6744ce6262b33af (diff)
Add gen and cleanobj targets to nmakefiles in examples
Diffstat (limited to 'dist/examples/cxx/parser/mixed/nmakefile')
-rw-r--r--dist/examples/cxx/parser/mixed/nmakefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/dist/examples/cxx/parser/mixed/nmakefile b/dist/examples/cxx/parser/mixed/nmakefile
index 5f9ebc9..d25c2ae 100644
--- a/dist/examples/cxx/parser/mixed/nmakefile
+++ b/dist/examples/cxx/parser/mixed/nmakefile
@@ -27,6 +27,12 @@ text-pskel.hxx text-pskel.cxx: text.xsd text.map
$(root)\bin\xsde.exe cxx-parser $(XSDFLAGS) $(EXTRA_XSDFLAGS) \
--type-map text.map text.xsd
+
+# Generate.
+#
+gen: text-pskel.hxx
+
+
# Test.
#
test: driver.exe text.xml
@@ -35,6 +41,8 @@ test: driver.exe text.xml
# Clean.
#
-clean:
- -del text-pskel.?xx text-pskel.obj driver.obj driver.exe
+cleanobj:
+ -del text-pskel.obj driver.obj driver.exe
+clean: cleanobj
+ -del text-pskel.?xx