version 1.25, 2009/05/12 09:46:39 |
version 1.26, 2009/08/16 09:47:06 |
|
|
void |
void |
Job_Touch(GNode *gn) |
Job_Touch(GNode *gn) |
{ |
{ |
if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL)) { |
if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL|OP_PHONY)) { |
/* |
/* |
* .JOIN, .USE, and .OPTIONAL targets are "virtual" targets |
* .JOIN, .USE, and .OPTIONAL targets are "virtual" targets |
* and, as such, shouldn't really be created. |
* and, as such, shouldn't really be created. |
|
* Likewise, .PHONY targets are not really files |
*/ |
*/ |
return; |
return; |
} |
} |