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/serializer/hello/makefile | |
parent | 1a574444dcad797bdc450f7e6a1347d0f2bbf758 (diff) |
Add gen and cleanobj targets to makefiles in examples
Diffstat (limited to 'dist/examples/cxx/serializer/hello/makefile')
-rw-r--r-- | dist/examples/cxx/serializer/hello/makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dist/examples/cxx/serializer/hello/makefile b/dist/examples/cxx/serializer/hello/makefile index fb26bde..a498aa4 100644 --- a/dist/examples/cxx/serializer/hello/makefile +++ b/dist/examples/cxx/serializer/hello/makefile @@ -35,6 +35,13 @@ hello-sskel.o: hello-sskel.cxx hello-sskel.hxx %-sskel.hxx %-sskel.cxx: %.xsd $(root)/bin/xsde cxx-serializer $(XSDFLAGS) $(EXTRA_XSDFLAGS) $< + +# Generate. +# +.PHONY: gen +gen: hello-sskel.hxx + + # Test. # .PHONY: test @@ -44,7 +51,9 @@ test: driver # Clean. # -.PHONY: clean -clean: - rm -f hello-sskel.?xx hello-sskel.o driver.o driver +.PHONY: clean cleanobj +cleanobj: + rm -f hello-sskel.o driver.o driver +clean: cleanobj + rm -f hello-sskel.?xx |