make(1): adding sort modifiers
Marcel Moolenaar
marcel at xcllnt.net
Wed Sep 17 11:42:44 PDT 2003
On Wed, Sep 17, 2003 at 11:04:21AM -0700, John-Mark Gurney wrote:
> Marcel Moolenaar wrote this message on Wed, Sep 17, 2003 at 01:01 -0700:
> > On Wed, Sep 17, 2003 at 12:39:00AM -0700, John-Mark Gurney wrote:
> > > Marcel Moolenaar wrote this message on Tue, Sep 16, 2003 at 23:51 -0700:
> > > > sorted subdirectory recursion, even though it's impossible or
> > > > hard to do it in the makesfiles themselves. Is this too evil?
> > >
> > > I always thought that sorted SUBDIR lines in the Makefile was for
> > > aiding the developer in seeing what is available, and where to put
> > > the new module.
> >
> > Yes. What's your point?
>
> The comment of impossible or hard made me think you were advocating
> dropping the requirement of sorted SUBDIR's since make now does that.
>
> But assuming from your response, that was not the case.
Correct. We should keep lists sorted. It's when we need to combine
multiple lists that we need a hand. Having multiple platforms and
a busload of NO_way options is making it hard to get the final list
sorted. If make(1) can give us a hand with that, then we can also
keep an eye on maintainability and readability of our makefiles.
I just wanted to know if that was a bad idea or not...
--
Marcel Moolenaar USPA: A-39004 marcel at xcllnt.net
More information about the freebsd-arch
mailing list