mirror of
https://github.com/mirror/make.git
synced 2025-03-25 01:00:30 +08:00
(set_command_state): New function.
This commit is contained in:
parent
be6e6d74bb
commit
4244f182f2
13
file.c
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user