Re: Buildworld fails in 5.1

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Mon, 21 Jul 2003 11:25:57 -0700
On Mon, Jul 21, 2003 at 09:46:03AM -0700, Tim Kientzle wrote:
> 
> I would argue "the problem with make"... ;-)  I think it's pretty
> clear that
> 
> a b c: foo
>     buildabc
> 
> does not require that 'buildabc' be run three times.

It's a common perception and one that's wrong.

	a b c: d
		foo

is a shorthand for

	a: d
		foo

	b: d
		foo

	c: d
		foo

Since most make variants only look at the timestamp one can avoid
building a, b, and c thrice by enforcing an ordering. Make variants
like clearmake may not be tricked that easily, because they keep
track of much more.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel_at_xcllnt.net
Received on Mon Jul 21 2003 - 09:26:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC