Re: Makefile for parser - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: Makefile for parser
Date
Msg-id 395D8828.12585B18@bitmead.com
Whole thread Raw
In response to Re: Makefile for parser  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Tom Lane wrote:
> 
> Chris Bitmead <chris@bitmead.com> writes:
> > On the topic of make, have you all read "Recursive Make Considered
> > Harmful" at http://www.tip.net.au/~millerp/rmch/recu-make-cons-harm.html
> 
> I read it, I don't believe a word of it.  The whole thing is founded on
> a bogus example, to which is added specious reasoning

?

> and an assumption
> that everyone wants to use GCC as compiler plus a nonstandardly-patched
> version of GNU make.  This is not the real world.

It doesn't depend on using gcc. The GNU make patch referred to was put
into the core GNU make distribution a long time ago.

> The Postgres build setup is certainly far from ideal, but IMHO the only
> thing *really* wrong with it is that we're not constructing accurate
> dependency lists by default.  I believe Peter E. is planning to
> fix that...

It is pretty nice if you use his recommendation to be able to type make
at the top level and be told immediately that everything is up to date
rather than seeing 10 pages of messages scroll past. I think you've
dismissed him a little easily about the problems of properly specifying
dependancies with recursive make.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Makefile for parser
Next
From: Oleg Broytmann
Date:
Subject: Re: Built with PostgreSQL (images)