aboutsummaryrefslogtreecommitdiff
path: root/miscutils/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/make.c')
-rw-r--r--miscutils/make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/make.c b/miscutils/make.c
index 431ac41d4..f50ffbbef 100644
--- a/miscutils/make.c
+++ b/miscutils/make.c
@@ -1358,6 +1358,8 @@ target_type(char *s)
1358 ".SILENT", 1358 ".SILENT",
1359 ".SUFFIXES", 1359 ".SUFFIXES",
1360 ".PHONY", 1360 ".PHONY",
1361 ".NOTPARALLEL",
1362 ".WAIT",
1361 }; 1363 };
1362 1364
1363 if (*s != '.') 1365 if (*s != '.')
@@ -1738,6 +1740,8 @@ input(FILE *fd, int ilevel)
1738 files = gd.gl_pathv; 1740 files = gd.gl_pathv;
1739 } 1741 }
1740 for (i = 0; i < nfile; ++i) { 1742 for (i = 0; i < nfile; ++i) {
1743 if (!posix && strcmp(files[i], ".WAIT") == 0)
1744 continue;
1741 np = newname(files[i]); 1745 np = newname(files[i]);
1742 newdep(&dp, np); 1746 newdep(&dp, np);
1743 } 1747 }