summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/read.c b/read.c
index 0170609..2eb3d91 100644
--- a/read.c
+++ b/read.c
@@ -623,6 +623,9 @@ read_makefile (filename, type)
if (two_colon)
p2++;
+ /* We have some targets, so don't ignore the following commands. */
+ no_targets = 0;
+
/* Is this a static pattern rule: `target: %targ: %dep; ...'? */
p = index (p2, ':');
while (p != 0 && p[-1] == '\\')