On Sun, 2022-09-11 at 19:12 +0200, Sébastien Hinderer wrote:
> Is there a way, in a Makefile, to get the same result as with the
> -r/--no-builtin-rules or -R/--no-builtin-variables options, please?

You can just add them to MAKEFLAGS in the makefile itself:

  MAKEFLAGS += -rR

Note, this requires that you have GNU make 4.0 or better: previous
versions don't support this.

Reply via email to