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

From Peter Eisentraut
Subject make depend (Re: Coming attractions: VPATH build; make variables issue)
Date
Msg-id Pine.LNX.4.21.0010191751250.777-100000@peter.localdomain
Whole thread Raw
In response to Re: Coming attractions: VPATH build; make variables issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: make depend (Re: Coming attractions: VPATH build; make variables issue)
Re: make depend (Re: Coming attractions: VPATH build; make variables issue)
List pgsql-hackers
Tom Lane writes:

> > 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...

Just a sanity check:  Does anyone use `make depend'?  Does everyone know
about the better way to track dependencies?  Does every-/anyone know why
`make depend' is worse?  I just don't want to bother fixing something
that's dead anyway...

(helpful reading: http://www.paulandlesley.org/gmake/autodep.html)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql/doc (FAQ_MSWIN INSTALL_MSWIN)
Next
From: Bruce Momjian
Date:
Subject: Re: Solaris FAQ