diff --git a/config/rules.mk b/config/rules.mk index 5f122b809874..a742374f23f7 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -1216,17 +1216,10 @@ else endif endif -# Cancel these implicit rules -# -%: %,v - -%: RCS/%,v - -%: RCS/% - -%: s.% - -%: SCCS/s.% +# Cancel GNU make built-in implicit rules +ifndef .PYMAKE +MAKEFLAGS += -r +endif ############################################################################### # Java rules diff --git a/js/src/config/rules.mk b/js/src/config/rules.mk index 5f122b809874..a742374f23f7 100644 --- a/js/src/config/rules.mk +++ b/js/src/config/rules.mk @@ -1216,17 +1216,10 @@ else endif endif -# Cancel these implicit rules -# -%: %,v - -%: RCS/%,v - -%: RCS/% - -%: s.% - -%: SCCS/s.% +# Cancel GNU make built-in implicit rules +ifndef .PYMAKE +MAKEFLAGS += -r +endif ############################################################################### # Java rules