From c4465a136650dfce900fb4f69c21aeb0a87bf07f Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Sat, 28 Apr 2012 19:23:47 +0000 Subject: [PATCH] Use a regular dependency instead of an include dependency for generated headers to allow correct rescanning of generated headers. [SVN r78247] --- src/engine/make.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/make.c b/src/engine/make.c index 96416cbd5..dadb67d03 100644 --- a/src/engine/make.c +++ b/src/engine/make.c @@ -298,11 +298,11 @@ void make0 t->boundname = search( t->name, &t->time, &another_target, t->flags & T_FLAG_ISFILE ); /* If it was detected that this target refers to an already existing and - * bound one, we add an include dependency, so that every target + * bound one, we add a dependency, so that every target * depending on us will depend on that other target as well. */ if ( another_target ) - target_include( t, bindtarget( another_target ) ); + t->depends = targetentry( t->depends, bindtarget( another_target ) ); t->binding = t->time ? T_BIND_EXISTS : T_BIND_MISSING; }