summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-03-11 19:59:26 +0000
committerRoland McGrath <roland@redhat.com>1992-03-11 19:59:26 +0000
commit39d4bb0c7a77f9f35cb7a705d0e8f5cffb9ee871 (patch)
tree7a256c4f4e43e69833773d130440747cfd0c107b /remake.c
parentfeb8a001e130c8226baceb3e75b77afedb1572da (diff)
downloadgunmake-39d4bb0c7a77f9f35cb7a705d0e8f5cffb9ee871.tar.gz
Formerly remake.c.~23~
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/remake.c b/remake.c
index f616342..b4add5f 100644
--- a/remake.c
+++ b/remake.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -302,7 +302,8 @@ update_file_1 (file, depth)
else
{
DEBUGPR ("No implicit rule found for `%s'.\n");
- if (default_file != 0 && default_file->cmds != 0)
+ if (!file->is_target
+ && default_file != 0 && default_file->cmds != 0)
{
DEBUGPR ("Using default commands for `%s'.\n");
file->cmds = default_file->cmds;
@@ -712,7 +713,7 @@ remake_file (file)
else
{
/* This is a dependency file we cannot remake. Fail. */
- static char noway[] = "*** No way to make target";
+ static char noway[] = "*** No rule to make target";
if (keep_going_flag || file->dontcare)
{
if (!file->dontcare)