bug-make
[Top][All Lists]
Advanced

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

Re: [bug #50062] Variable needed to check that Makefile is run by GNU ma


From: Edward Welbourne
Subject: Re: [bug #50062] Variable needed to check that Makefile is run by GNU make?
Date: Tue, 14 Feb 2017 15:01:29 +0000

> If you really need some features only supported by GNU Make, why not
> rename this makefile to "GNUmakfile"?

... which, furthermore, ensures that - if the make-file is picked up by
some other make that thinks it knows what to do with a GNU make-file -
the reader is primed with the knowledge that this is indeed a GNU
make-file, not a make-file for some other make.  Its compatibility magic
can then more confidently emulate GNU make, without heuristics to guess
which dialect to read.

        Eddy.



reply via email to

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