Re: Makefile for parser

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: Makefile for parser
Дата
Msg-id 395D8828.12585B18@bitmead.com
обсуждение исходный текст
Ответ на Re: Makefile for parser  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Makefile for parser
Следующее
От: Oleg Broytmann
Дата:
Сообщение: Re: Built with PostgreSQL (images)