summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9850fbc..fc5b335 100644
--- a/main.c
+++ b/main.c
@@ -1496,10 +1496,13 @@ int main (int argc, char ** argv)
else
{
/* A normal makefile. We must die later. */
- error (NILF, "Makefile `%s' was not found", dep_name (d));
+ error (NILF, "Makefile `%s' was not found",
+ dep_name (d));
any_failed = 1;
}
}
+ /* Reset this to empty so we get the right error message below. */
+ read_makefiles = 0;
if (any_remade)
goto re_exec;