summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared.mak11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared.mak b/shared.mak
index 0170bb397a..29f0e69ecb 100644
--- a/shared.mak
+++ b/shared.mak
@@ -1,3 +1,14 @@
+### Remove GNU make implicit rules
+
+## This speeds things up since we don't need to look for and stat() a
+## "foo.c,v" every time a rule referring to "foo.c" is in play. See
+## "make -p -f/dev/null | grep ^%::'".
+%:: %,v
+%:: RCS/%,v
+%:: RCS/%
+%:: s.%
+%:: SCCS/s.%
+
### Flags affecting all rules
# A GNU make extension since gmake 3.72 (released in late 1994) to