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/filter/makefile | |
parent | 1a574444dcad797bdc450f7e6a1347d0f2bbf758 (diff) |
Add gen and cleanobj targets to makefiles in examples
Diffstat (limited to 'dist/examples/cxx/hybrid/filter/makefile')
-rw-r--r-- | dist/examples/cxx/hybrid/filter/makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/dist/examples/cxx/hybrid/filter/makefile b/dist/examples/cxx/hybrid/filter/makefile index f9137fc..b89536e 100644 --- a/dist/examples/cxx/hybrid/filter/makefile +++ b/dist/examples/cxx/hybrid/filter/makefile @@ -45,6 +45,13 @@ people-custom-simpl.o: people-custom-simpl.cxx people-custom-simpl.hxx people.hx --custom-parser people=people_base_pimpl/people-custom-pimpl.hxx \ --custom-serializer people=people_base_simpl/people-custom-simpl.hxx $< + +# Generate. +# +.PHONY: gen +gen: people.hxx + + # Test. # .PHONY: test @@ -53,9 +60,11 @@ test: driver people.xml # Clean. # -.PHONY: clean -clean: +.PHONY: clean cleanobj +cleanobj: + rm -f people-custom-pimpl.o people-custom-simpl.o 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-custom-pimpl.o people-custom-simpl.o \ -people-pimpl.o people-pskel.o people-simpl.o people-sskel.o \ -people.o driver.o driver +people-sskel.?xx people.?xx |