diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-20 18:58:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-20 18:58:18 +0200 |
commit | 8302018362ba1bc362a72ad3f6744ce6262b33af (patch) | |
tree | da0bb3e011207d8db34516b07a3e4c11f5ec5272 /dist/examples/cxx/hybrid/minimal/makefile | |
parent | 1a574444dcad797bdc450f7e6a1347d0f2bbf758 (diff) |
Add gen and cleanobj targets to makefiles in examples
Diffstat (limited to 'dist/examples/cxx/hybrid/minimal/makefile')
-rw-r--r-- | dist/examples/cxx/hybrid/minimal/makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/dist/examples/cxx/hybrid/minimal/makefile b/dist/examples/cxx/hybrid/minimal/makefile index 14b7008..e7f896e 100644 --- a/dist/examples/cxx/hybrid/minimal/makefile +++ b/dist/examples/cxx/hybrid/minimal/makefile @@ -46,6 +46,13 @@ people-simpl.o: people-simpl.cxx $(root)/bin/xsde cxx-hybrid $(XSDFLAGS) $(EXTRA_XSDFLAGS) \ --generate-parser --generate-serializer --generate-aggregate $< + +# Generate. +# +.PHONY: gen +gen: people.hxx + + # Test. # .PHONY: test @@ -54,8 +61,11 @@ test: driver people.xml # Clean. # -.PHONY: clean -clean: +.PHONY: clean cleanobj +cleanobj: + rm -f people-pimpl.o people-pskel.o people-simpl.o people-sskel.o \ +people.o driver.o driver + +clean: cleanobj rm -f people-pimpl.?xx people-pskel.?xx people-simpl.?xx \ -people-sskel.?xx people.?xx people-pimpl.o people-pskel.o \ -people-simpl.o people-sskel.o people.o driver.o driver +people-sskel.?xx people.?xx |