version 1.14, 1999/11/11 11:35:17 |
version 1.15, 1999/12/06 22:28:44 |
|
|
* commands |
* commands |
*/ |
*/ |
if ((DEFAULT != NILGNODE) && !Lst_IsEmpty(DEFAULT->commands)) { |
if ((DEFAULT != NILGNODE) && !Lst_IsEmpty(DEFAULT->commands)) { |
char *p1; |
|
/* |
/* |
* Make only looks for a .DEFAULT if the node was never the |
* Make only looks for a .DEFAULT if the node was never the |
* target of an operator, so that's what we do too. If |
* target of an operator, so that's what we do too. If |
|
|
* .DEFAULT itself. |
* .DEFAULT itself. |
*/ |
*/ |
Make_HandleUse(DEFAULT, gn); |
Make_HandleUse(DEFAULT, gn); |
Var_Set(IMPSRC, Var_Value(TARGET, gn, &p1), gn); |
Var_Set(IMPSRC, Var_Value(TARGET, gn), gn); |
efree(p1); |
|
} else if (Dir_MTime(gn) == 0) { |
} else if (Dir_MTime(gn) == 0) { |
/* |
/* |
* The node wasn't the target of an operator we have no .DEFAULT |
* The node wasn't the target of an operator we have no .DEFAULT |