[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Bruno Haible
Subject: Re: MAKEFLAGS=-r
Date: Mon, 17 Jul 2023 17:21:43 +0200

David Boyce wrote:
> Everything else aside, there's a profound difference between MAKEFLAGS=-r
> and MAKEFLAGS+=-r. The latter is far less destabilizing.

At least the '-n' option does not get lost by MAKEFLAGS=-r. That is,
setting MAKEFLAGS=-r and running 'make -n' does not cause the actions
to be actually executed.

> And yes, GNUMAKEFLAGS is definitely better for this use.

But MAKEFLAGS+=-r or GNUMAKEFLAGS+=-r is not something one can use in a
Makefile.am, since this is invalid syntax for a POSIX make program.
Thus, for those who want to get rid of implicit rules because Automake
provides the rules already, it's either MAKEFLAGS=-r or nothing at all.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]