mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-07 06:47:52 +00:00
Formerly remake.c.~50~
This commit is contained in:
parent
0da218acc1
commit
b018db955c
1 changed files with 7 additions and 9 deletions
8
remake.c
8
remake.c
|
@ -341,17 +341,15 @@ update_file_1 (file, depth)
|
||||||
if (try_implicit_rule (file, depth))
|
if (try_implicit_rule (file, depth))
|
||||||
DEBUGPR ("Found an implicit rule for `%s'.\n");
|
DEBUGPR ("Found an implicit rule for `%s'.\n");
|
||||||
else
|
else
|
||||||
{
|
|
||||||
DEBUGPR ("No implicit rule found for `%s'.\n");
|
DEBUGPR ("No implicit rule found for `%s'.\n");
|
||||||
if (!file->is_target
|
file->tried_implicit = 1;
|
||||||
|
}
|
||||||
|
if (file->cmds == 0 && !file->is_target
|
||||||
&& default_file != 0 && default_file->cmds != 0)
|
&& default_file != 0 && default_file->cmds != 0)
|
||||||
{
|
{
|
||||||
DEBUGPR ("Using default commands for `%s'.\n");
|
DEBUGPR ("Using default commands for `%s'.\n");
|
||||||
file->cmds = default_file->cmds;
|
file->cmds = default_file->cmds;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
file->tried_implicit = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Update all non-intermediate files we depend on, if necessary,
|
/* Update all non-intermediate files we depend on, if necessary,
|
||||||
and see whether any of them is more recent than this file. */
|
and see whether any of them is more recent than this file. */
|
||||||
|
|
Loading…
Reference in a new issue