From: Roland McGrath Date: Wed, 7 Sep 1994 00:02:25 +0000 (+0000) Subject: (set_command_state): New function. X-Git-Tag: 3.71.2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4244f182f20db095007162aa6d1064114158ee5a;p=thirdparty%2Fmake.git (set_command_state): New function. --- diff --git a/file.c b/file.c index 1545291f..be333f4f 100644 --- a/file.c +++ b/file.c @@ -385,6 +385,19 @@ snap_deps () export_all_variables = 1; } +/* Set the `command_state' member of FILE and all its `also_make's. */ + +void +set_command_state (file, state) + struct file *file; + int state; +{ + file->command_state = state; + + for (d = file->also_make; d != 0; d = d->next) + d->command_state = state; +} + /* Print the data base of files. */ static void