aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/hello/nmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/parser/hello/nmakefile')
-rw-r--r--dist/examples/cxx/parser/hello/nmakefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/dist/examples/cxx/parser/hello/nmakefile b/dist/examples/cxx/parser/hello/nmakefile
index e8b6ccf..40d1307 100644
--- a/dist/examples/cxx/parser/hello/nmakefile
+++ b/dist/examples/cxx/parser/hello/nmakefile
@@ -34,6 +34,12 @@ hello-pskel.obj: hello-pskel.cxx hello-pskel.hxx
hello-pskel.cxx hello-pskel.hxx: hello.xsd
$(root)\bin\xsde.exe cxx-parser $(XSDFLAGS) $(EXTRA_XSDFLAGS) hello.xsd
+
+# Generate.
+#
+gen: hello-pskel.hxx
+
+
# Test.
#
test: driver.exe hello.xml
@@ -42,6 +48,8 @@ test: driver.exe hello.xml
# Clean.
#
-clean:
- -del hello-pskel.?xx hello-pskel.obj driver.obj driver.exe
+cleanobj:
+ -del hello-pskel.obj driver.obj driver.exe
+clean: cleanobj
+ -del hello-pskel.?xx