[Omake] .PHONY rules in subdirs
Aleksey Nogin
anogin at hrl.com
Fri Mar 30 09:30:38 PDT 2007
On 29.03.2007 11:54, Jonathan Roewen wrote:
> To follow on from this discussion, is it possible to extend this to
> say have an implicit rule that can find all targets created by a phony
> rule (e.g. all), and rm -f those?
>
> That'd be great for a 'distclean' kind of rule =)
Jonathan,
You do not need an implicit rule, you can write an explicit one using -
see the functions like dependencies, dependencies-all, and
dependencies-proper - see
http://omake.metaprl.org/omake-build.html#fun:dependencies
Aleksey
--
Aleksey Nogin, Research Staff Member
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA
More information about the Omake
mailing list