diff options
author | Roland McGrath <roland@redhat.com> | 1993-09-17 04:51:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-09-17 04:51:21 +0000 |
commit | b018db955c958e17f335e9fd78f4ff289ccdceb7 (patch) | |
tree | 1158c4b0c04ab3bb95765c1dc6643c9fe02026c3 | |
parent | 0da218acc1a8fd73620df49df7e8051416d74283 (diff) | |
download | gunmake-b018db955c958e17f335e9fd78f4ff289ccdceb7.tar.gz |
Formerly remake.c.~50~
-rw-r--r-- | remake.c | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -341,17 +341,15 @@ update_file_1 (file, depth) if (try_implicit_rule (file, depth)) DEBUGPR ("Found an implicit rule for `%s'.\n"); else - { - DEBUGPR ("No implicit rule found for `%s'.\n"); - if (!file->is_target - && default_file != 0 && default_file->cmds != 0) - { - DEBUGPR ("Using default commands for `%s'.\n"); - file->cmds = default_file->cmds; - } - } + DEBUGPR ("No implicit rule found for `%s'.\n"); file->tried_implicit = 1; } + if (file->cmds == 0 && !file->is_target + && default_file != 0 && default_file->cmds != 0) + { + DEBUGPR ("Using default commands for `%s'.\n"); + file->cmds = default_file->cmds; + } /* Update all non-intermediate files we depend on, if necessary, and see whether any of them is more recent than this file. */ |