diff --git a/read.c b/read.c index 01706099..2eb3d914 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] == '\\')