make depend (Re: Coming attractions: VPATH build; make variables issue)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: make depend (Re: Coming attractions: VPATH build; make variables issue)
Date: 2000-10-19 15:58:40
Message-ID: Pine.LNX.4.21.0010191751250.777-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-10-19 15:59:13 Re: [HACKERS] Re: pgsql/doc (FAQ_MSWIN INSTALL_MSWIN)
Previous Message Bruce Momjian 2000-10-19 15:56:05 Re: Solaris FAQ