diff options
Diffstat (limited to 'dist/examples/cxx/hybrid/hello/makefile')
-rw-r--r-- | dist/examples/cxx/hybrid/hello/makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/dist/examples/cxx/hybrid/hello/makefile b/dist/examples/cxx/hybrid/hello/makefile index 3a6f645..789334f 100644 --- a/dist/examples/cxx/hybrid/hello/makefile +++ b/dist/examples/cxx/hybrid/hello/makefile @@ -39,6 +39,13 @@ hello-pimpl.o: hello-pimpl.cxx $(root)/bin/xsde cxx-hybrid $(XSDFLAGS) $(EXTRA_XSDFLAGS) \ --generate-parser --generate-aggregate $< + +# Generate. +# +.PHONY: gen +gen: hello.hxx + + # Test. # .PHONY: test @@ -47,7 +54,9 @@ test: driver hello.xml # Clean. # -.PHONY: clean -clean: - rm -f hello-pimpl.?xx hello-pskel.?xx hello.?xx hello-pimpl.o \ -hello-pskel.o hello.o driver.o driver +.PHONY: clean cleanobj +cleanobj: + rm -f hello-pimpl.o hello-pskel.o hello.o driver.o driver + +clean: cleanobj + rm -f hello-pimpl.?xx hello-pskel.?xx hello.?xx |