aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/library/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/hybrid/library/nmakefile
parent8302018362ba1bc362a72ad3f6744ce6262b33af (diff)
Add gen and cleanobj targets to nmakefiles in examples
Diffstat (limited to 'dist/examples/cxx/hybrid/library/nmakefile')
-rw-r--r--dist/examples/cxx/hybrid/library/nmakefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/dist/examples/cxx/hybrid/library/nmakefile b/dist/examples/cxx/hybrid/library/nmakefile
index a8c1730..0d760a0 100644
--- a/dist/examples/cxx/hybrid/library/nmakefile
+++ b/dist/examples/cxx/hybrid/library/nmakefile
@@ -40,14 +40,24 @@ library-sskel.cxx library-sskel.hxx library-simpl.cxx library-simpl.hxx \
--generate-parser --generate-serializer --generate-aggregate \
--omit-default-attributes library.xsd
+
+# Generate.
+#
+gen: library.hxx
+
+
# Test.
#
test: driver.exe library.xml
.\driver.exe library.xml
+
# Clean.
#
-clean:
+cleanobj:
+ -del library-pimpl.obj library-pskel.obj library-simpl.obj \
+library-sskel.obj library.obj driver.obj driver.exe
+
+clean: cleanobj
-del library-pimpl.?xx library-pskel.?xx library-simpl.?xx \
-library-sskel.?xx library.?xx library-pimpl.obj library-pskel.obj \
-library-simpl.obj library-sskel.obj library.obj driver.obj driver.exe
+library-sskel.?xx library.?xx