From 8302018362ba1bc362a72ad3f6744ce6262b33af Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Oct 2009 18:58:18 +0200 Subject: Add gen and cleanobj targets to makefiles in examples --- dist/examples/cxx/parser/mixed/makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'dist/examples/cxx/parser/mixed/makefile') diff --git a/dist/examples/cxx/parser/mixed/makefile b/dist/examples/cxx/parser/mixed/makefile index 412edfe..44d988e 100644 --- a/dist/examples/cxx/parser/mixed/makefile +++ b/dist/examples/cxx/parser/mixed/makefile @@ -29,6 +29,13 @@ text-pskel.o: text-pskel.cxx text-pskel.hxx anchor.hxx $(root)/bin/xsde cxx-parser $(XSDFLAGS) $(EXTRA_XSDFLAGS) \ --type-map $*.map $< + +# Generate. +# +.PHONY: gen +gen: text-pskel.hxx + + # Test. # .PHONY: test @@ -37,7 +44,10 @@ test: driver text.xml # Clean. # -.PHONY: clean -clean: - rm -f text-pskel.?xx text-pskel.o driver.o driver +.PHONY: clean cleanobj +cleanobj: + rm -f text-pskel.o driver.o driver + +clean: cleanobj + rm -f text-pskel.?xx -- cgit v1.1