Closed GoogleCodeExporter closed 9 years ago
I'm not sure I believe that a :: target is needed, here. Just to be sure that
I understand the use case, you are asking for the ability to add your own
dependencies to clean?
But, make already supports that with single-colon targets, and this makefile
makes abundant use of those.
You could, for example, have the following in your Targets.ini file:
.PHONY: clean-foo
clean-foo:
rm *.my-foo
clean: clean-foo
And that would do it. There's no need to make it a double-colon target. The
same goes for "all".
Original comment by shiblon
on 8 Apr 2011 at 5:51
I verified that the above works, so I think we're all set!
Please reopen this issue if you are unable to get this working.
Original comment by shiblon
on 22 Apr 2011 at 3:46
Original issue reported on code.google.com by
andre.r...@gmail.com
on 7 Apr 2011 at 9:23