This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why does Makefile depend on version.c?
On Tue, Jul 22, 2003 at 12:26:14PM -0700, Mark Mitchell wrote:
> Right now, configure reads version.c and then does AC_SUBST into
> gcc_version. That means that an update that brings in a new version.c
> causes a Makefile rebuild, which seems pointless. By just having the
> Makefile read the file we could avoid that.
My understanding is that this was in fact the goal (at the time).
An update forces a Makefile rebuild, and everything else already depends
on the Makefile.
Now that we have better per-file dependancies, this is probably overkill.
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams