From 73e7767ffc14fad98dd2e78791a1237bcb3d6fe3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Sep 2004 20:23:12 +0000 Subject: Fixed bug in implicit rule prerequisite evaluation code. Added test. --- file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index 8f89503..ae99745 100644 --- a/file.c +++ b/file.c @@ -455,8 +455,9 @@ snap_deps (void) for (d = f->deps; d != 0; d = d->next) for (f2 = d->file; f2 != 0; f2 = f2->prev) { - /* Mark this file as phony and nonexistent. */ + /* Mark this file as phony nonexistent target. */ f2->phony = 1; + f2->is_target = 1; f2->last_mtime = NONEXISTENT_MTIME; f2->mtime_before_update = NONEXISTENT_MTIME; } -- cgit v1.2.3