version 1.7, 1998/07/02 21:00:05 |
version 1.8, 1998/07/02 21:25:40 |
|
|
(void)SuffParseTransform(gn->name, &s, &t); |
(void)SuffParseTransform(gn->name, &s, &t); |
|
|
if (DEBUG(SUFF)) { |
if (DEBUG(SUFF)) { |
printf("deleting transformation from %s to %s\n", |
printf("deleting transformation from `%s' to `%s'\n", |
s->name, t->name); |
s->name, t->name); |
} |
} |
|
|
|
|
* We'll be called twice when the next target is seen, but .c and .o |
* We'll be called twice when the next target is seen, but .c and .o |
* are only linked once... |
* are only linked once... |
*/ |
*/ |
SuffRemove(t->children, s); |
if (*t->name) |
|
SuffRemove(t->children, s); |
|
|
/* |
/* |
* Remove the target from the source's parents list |
* Remove the target from the source's parents list |
*/ |
*/ |
SuffRemove(s->parents, t); |
if (*s->name) |
|
SuffRemove(s->parents, t); |
} else if ((gn->type & OP_TRANSFORM) && DEBUG(SUFF)) { |
} else if ((gn->type & OP_TRANSFORM) && DEBUG(SUFF)) { |
printf("transformation %s complete\n", gn->name); |
printf("transformation %s complete\n", gn->name); |
} |
} |