Re: Coming attractions: VPATH build; make variables issue - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Coming attractions: VPATH build; make variables issue
Date
Msg-id 5577.971889854@sss.pgh.pa.us
Whole thread Raw
In response to Coming attractions: VPATH build; make variables issue  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Coming attractions: VPATH build; make variables issue  (Peter Eisentraut <peter_e@gmx.net>)
make depend (Re: Coming attractions: VPATH build; make variables issue)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> This is an opportune time to sort out the use of the make variables
> CPPFLAGS and CFLAGS, which are used interchangeably in some places.  
> Unfortunately, this would mean having to fix each of the targets

> dep depend:
>     $(CC) -MM $(CFLAGS) *.c >depend

Why?  Shouldn't CFLAGS include CPPFLAGS?  These targets seem correct
to me as they stand ... other than assuming CC is gcc, but nevermind
that...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: pg_dump docs
Next
From: Bruce Momjian
Date:
Subject: Re: Coming attractions: VPATH build; make variables issue