Buildworld fails in 5.1

Marcel Moolenaar marcel at xcllnt.net
Mon Jul 21 11:26:03 PDT 2003


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


More information about the freebsd-current mailing list