[Omake] .PHONY rules in subdirs
Jonathan Roewen
jonathan.roewen at gmail.com
Fri Mar 30 13:11:59 PDT 2007
Hmm, the only thing with that is it returns all the scanner targets as
well, which is kind of annoying.
E.g. foo/bar/baz/scan-star-me-kitten.ml
and the generatedfiles things in angled brackets...
Also, it's not clever enough to remove .cmi files when I have sources
with a .ml file but no corresponding .mli file it seems -- kind of
odd. Though it seems to have rebuilt correctly :-)
Jonathan
On 3/31/07, Aleksey Nogin <anogin at hrl.com> wrote:
> 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
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>
More information about the Omake
mailing list