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/wildcard | |
parent | 1a574444dcad797bdc450f7e6a1347d0f2bbf758 (diff) |
Add gen and cleanobj targets to makefiles in examples
Diffstat (limited to 'dist/examples/cxx/hybrid/wildcard')
-rw-r--r-- | dist/examples/cxx/hybrid/wildcard/makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/dist/examples/cxx/hybrid/wildcard/makefile b/dist/examples/cxx/hybrid/wildcard/makefile index 876003f..dda8cfc 100644 --- a/dist/examples/cxx/hybrid/wildcard/makefile +++ b/dist/examples/cxx/hybrid/wildcard/makefile @@ -47,6 +47,13 @@ envelope-simpl.o: envelope-simpl.cxx envelope-simpl.hxx email.hxx body.hxx --custom-parser envelope=envelope_base_pimpl/envelope-pimpl.hxx \ --custom-serializer envelope=envelope_base_simpl/envelope-simpl.hxx $< + +# Generate. +# +.PHONY: gen +gen: email.hxx + + # Test. # .PHONY: test @@ -55,9 +62,11 @@ test: driver email.xml # Clean. # -.PHONY: clean -clean: - rm -f email-pimpl.?xx email-pskel.?xx email-simpl.?xx \ -email-sskel.?xx email.?xx envelope-pimpl.o envelope-simpl.o \ -email-pimpl.o email-pskel.o email-simpl.o email-sskel.o \ -body.o email.o driver.o driver +.PHONY: clean cleanobj +cleanobj: + rm -f envelope-pimpl.o envelope-simpl.o email-pimpl.o email-pskel.o \ +email-simpl.o email-sskel.o body.o email.o driver.o driver + +clean: cleanobj + rm -f email-pimpl.?xx email-pskel.?xx email-simpl.?xx email-sskel.?xx \ +email.?xx |