Lines 708-722
Link Here
|
708 |
time_t phonytime = (time_t)0L; |
708 |
time_t phonytime = (time_t)0L; |
709 |
int phony = ((cp->ce_attr&A_PHONY) != 0); |
709 |
int phony = ((cp->ce_attr&A_PHONY) != 0); |
710 |
|
710 |
|
711 |
/* Compute phony time as either the current time, or the most recent time |
711 |
/* Use the current time as phony timestamp for phony targets. */ |
712 |
* from the list of prerequisites if there are any. */ |
712 |
/* This was changed with issue 34746. */ |
713 |
if ( cp->ce_prq != NIL(LINK) ) { |
713 |
phonytime = Do_time(); |
714 |
for(dp=cp->ce_prq; dp; dp=dp->cl_next) |
|
|
715 |
if ( dp->cl_prq->ce_time > phonytime ) |
716 |
phonytime = dp->cl_prq->ce_time; |
717 |
} |
718 |
else |
719 |
phonytime = Do_time(); |
720 |
|
714 |
|
721 |
for(dp=CeMeToo(cp); dp; dp=dp->cl_next) { |
715 |
for(dp=CeMeToo(cp); dp; dp=dp->cl_next) { |
722 |
tcp=dp->cl_prq; |
716 |
tcp=dp->cl_prq; |