mirror of
https://github.com/mirror/make.git
synced 2025-01-16 15:20:39 +08:00
Formerly remake.c.~40~
This commit is contained in:
parent
b0a8c63bf2
commit
63fec5f467
9
remake.c
9
remake.c
@ -250,7 +250,7 @@ update_file_1 (file, depth)
|
||||
int noexist, must_make, deps_changed;
|
||||
int dep_status = 0;
|
||||
register struct dep *d, *lastd;
|
||||
char running = 0;
|
||||
int running = 0;
|
||||
|
||||
DEBUGPR ("Considering target file `%s'.\n");
|
||||
|
||||
@ -676,6 +676,13 @@ check_dep (file, depth, this_mtime, must_make_ptr)
|
||||
if (dep_status != 0 && !keep_going_flag)
|
||||
break;
|
||||
|
||||
if (d->file->command_state == cs_running
|
||||
|| d->file->command_state == cs_deps_running)
|
||||
/* Record that some of FILE's dependencies are still being made.
|
||||
This tells the upper levels to wait on processing it until
|
||||
the commands are finished. */
|
||||
file->command_state = cs_deps_running;
|
||||
|
||||
lastd = d;
|
||||
d = d->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user