summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2005-03-04 14:31:09 +0000
committerBoris Kolpackov <boris@kolpackov.net>2005-03-04 14:31:09 +0000
commit2860d3b247e70a34246936fb085aeec951ea49b1 (patch)
tree83d22d4a32ecba8946b5dc002d9a15635c3a485d /implicit.c
parent28078b517a3151f18cf427be87600803251d732b (diff)
downloadgunmake-2860d3b247e70a34246936fb085aeec951ea49b1.tar.gz
Fixed Savannah bug #12202.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/implicit.c b/implicit.c
index acf7c94..ab3879b 100644
--- a/implicit.c
+++ b/implicit.c
@@ -803,6 +803,7 @@ pattern_search (struct file *file, int archive,
f->cmds = imf->cmds;
f->stem = imf->stem;
f->also_make = imf->also_make;
+ f->is_target = 1;
imf = lookup_file (d->intermediate_pattern);
if (imf != 0 && imf->precious)
f->precious = 1;
@@ -881,6 +882,7 @@ pattern_search (struct file *file, int archive,
}
file->cmds = rule->cmds;
+ file->is_target = 1;
/* If this rule builds other targets, too, put the others into FILE's
`also_make' member. */