From 45acf3694bc4d111fc27310e64a3f9b2866f4822 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Oct 2009 07:36:31 +0200 Subject: Add gen and cleanobj targets to nmakefiles in examples --- dist/examples/cxx/parser/multiroot/nmakefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'dist/examples/cxx/parser/multiroot/nmakefile') 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 -- cgit v1.1