Why does Makefile depend on version.c?

Mark Mitchell mark@codesourcery.com
Tue Jul 22 19:10:00 GMT 2003


Does anyone know why we have this:

  Makefile: $(srcdir)/Makefile.in config.status $(srcdir)/version.c \

in gcc/Makefile?  The same goes for:

  config.status: $(srcdir)/configure $(srcdir)/config.gcc version.c

It's hard for me to see why changing the version number requires these
things to be rebuilt.

Thoughts?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc mailing list