aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/minimal/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/minimal/nmakefile
parent8302018362ba1bc362a72ad3f6744ce6262b33af (diff)
Add gen and cleanobj targets to nmakefiles in examples
Diffstat (limited to 'dist/examples/cxx/parser/minimal/nmakefile')
-rw-r--r--dist/examples/cxx/parser/minimal/nmakefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/dist/examples/cxx/parser/minimal/nmakefile b/dist/examples/cxx/parser/minimal/nmakefile
index 4230425..addf4c8 100644
--- a/dist/examples/cxx/parser/minimal/nmakefile
+++ b/dist/examples/cxx/parser/minimal/nmakefile
@@ -43,6 +43,12 @@ people-pskel.cxx people-pskel.hxx: people.xsd people.map
$(root)\bin\xsde.exe cxx-parser $(XSDFLAGS) $(EXTRA_XSDFLAGS) \
--type-map people.map people.xsd
+
+# Generate.
+#
+gen: people-pskel.hxx
+
+
# Test.
#
test: driver.exe people.xml
@@ -51,6 +57,9 @@ test: driver.exe people.xml
# Clean.
#
-clean:
- -del people-pskel.?xx people-pskel.obj driver.obj driver.exe
+cleanobj:
+ -del people-pskel.obj driver.obj driver.exe
+
+clean: cleanobj
+ -del people-pskel.?xx