disabling built-in rules in makefile

David Tardon dtardon at redhat.com
Tue Dec 4 20:58:56 PST 2012


Hi,

On Tue, Dec 04, 2012 at 10:45:43PM +0100, Matúš Kukan wrote:
> Hi,
> 
> I've removed MAKEFLAGS+=-r in 0a45deba2be4a77db7540bd050b25bd6c26d7513
> because I thought it's supposed to be used only for recursive make
> invocation.
> Now I see, it really makes a difference (for a reason unknown to me).
> It probably should be only MAKEFLAGS += r (there is no - in the
> variable if you use make -r)
> anyway.. using
> .SUFFIXES:
> 
> makes even bigger difference for me. Then it's the ~same as using make -r.

It is not the same thing. The .SUFFIXES special rule only deletes
defined (i.e., built-in) suffix rules, but it does not affect built-in
pattern rules. The -r flag disables both.

D.


More information about the LibreOffice mailing list