[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to modify algorithm that determines weather a target needs rebu
From: |
Philip Guenther |
Subject: |
Re: How to modify algorithm that determines weather a target needs rebuild |
Date: |
Sun, 8 Aug 2010 22:48:03 -0700 |
On Sunday, August 8, 2010, mirage1987 <address@hidden> wrote:
...
> So in short this what i want to achieve:
> -Check if foo.o exists
> - Yes :
> Check if timestamp of foo.o == timestamp of foo.c
> Yes:
> Dont build
> No:
> Build and touch foo.o to timestamp of foo.c
...
Hmm, how will that work for a file that has multiple dependencies? If
you always use the timestamp of, say, its first dependency, then how
can you determine whether it's out of date with respect to the second
or later dependencies?
Philip Guenther
Re: How to modify algorithm that determines weather a target needs rebuild, Bob Proulx, 2010/08/09
Re: How to modify algorithm that determines weather a target needs rebuild, mirage1987, 2010/08/10