version 1.43, 2013/05/22 12:14:08 |
version 1.44, 2013/05/25 11:54:14 |
|
|
void |
void |
Make_TimeStamp(GNode *parent, GNode *child) |
Make_TimeStamp(GNode *parent, GNode *child) |
{ |
{ |
if (is_strictly_before(parent->youngest->mtime, child->mtime)) { |
if (is_strictly_before(parent->cmtime, child->mtime)) { |
parent->youngest = child; |
parent->youngest = child; |
|
parent->cmtime = child->mtime; |
} |
} |
} |
} |
|
|
|
|
printf(".EXEC node..."); |
printf(".EXEC node..."); |
} |
} |
oodate = true; |
oodate = true; |
} else if (is_strictly_before(gn->mtime, gn->youngest->mtime) || |
} else if (is_strictly_before(gn->mtime, gn->cmtime) || |
(is_out_of_date(gn->youngest->mtime) && |
(is_out_of_date(gn->cmtime) && |
(is_out_of_date(gn->mtime) || (gn->type & OP_DOUBLEDEP)))) { |
(is_out_of_date(gn->mtime) || (gn->type & OP_DOUBLEDEP)))) { |
/* |
/* |
* A node whose modification time is less than that of its |
* A node whose modification time is less than that of its |
|
|
* or was the object of a :: operator is out-of-date. |
* or was the object of a :: operator is out-of-date. |
*/ |
*/ |
if (DEBUG(MAKE)) { |
if (DEBUG(MAKE)) { |
if (is_strictly_before(gn->mtime, gn->youngest->mtime)) |
if (is_strictly_before(gn->mtime, gn->cmtime)) |
printf("modified before source(%s)...", |
printf("modified before source(%s)...", |
gn->youngest->name); |
gn->youngest->name); |
else if (is_out_of_date(gn->mtime)) |
else if (is_out_of_date(gn->mtime)) |