help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about order dependencies


From: drwowe
Subject: Re: Question about order dependencies
Date: Sun, 20 Sep 2009 12:39:42 -0700 (PDT)


> On Mon, Sep 14, 2009 at 6:23 PM, David Boyce <address@hidden>
> wrote:
> I was under the impression that GNU make is guaranteed to work from left
> to
> right when making default goals?

I thought so as well, but in fact, even if I have
all:  foo bar
For some reason make actually wants to build bar before foo (maybe because
foo and bar are both phony targets which invoke other things?)  Anyway, for
whatever reason, the left to right order is violated in my particular case,
and that's even before thinking about -j, which I also use.  Sometimes I run
"make foo" frequently and I want it to be as fast as possible without doing
the wrong thing...
-- 
View this message in context: 
http://www.nabble.com/Question-about-order-dependencies-tp25430782p25530120.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]