[Top][All Lists]

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

Re: Order-only dependencies don't work

From: Boris Kolpackov
Subject: Re: Order-only dependencies don't work
Date: Tue, 19 Oct 2004 17:03:23 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

"Daniel Olivier" <address@hidden> writes:

> It builds fine the first time, but for some reason. If I attempt to make a
> second time, because the obj_dir directory (dependency) is newer than the
> (target) obj1.o, the rule is re-run, causing the "compiler" (touch in this
> simplified case) and "linker" to be re-invoked once each, despite the fact
> that the this is an order-only dependency.

I tested your example with GNU make 3.80 and it works as expected. Are you
by any chance trying it on NFS?

reply via email to

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