GCC vs. `make' on Solaris

Alexandre Oliva aoliva@redhat.com
Sun May 13 18:02:00 GMT 2001


On May 13, 2001, andrew@pimlott.ne.mediaone.net (Andrew Pimlott) wrote:

> On Sun, May 13, 2001 at 08:44:15PM -0300, Alexandre Oliva wrote:

>> We want to avoid having to rebuild foo.o
>> if foo.c doesn't change, but we also want to avoid running `bar' again
>> every time.

> bar will be run again iff bar changes, in both your example and
> mine.

Nope.  In your example, foo.c will remain older than bar, so its
command will be invoked every time you `make'.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list