help-make
[Top][All Lists]
Advanced

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

Re: Using empty $(else) variable for readability


From: Paul Smith
Subject: Re: Using empty $(else) variable for readability
Date: Sat, 17 Oct 2015 10:10:58 -0400

On Sat, 2015-10-17 at 22:40 +1100, Tony Theodore wrote:
> Is this a reasonable idea and is there any chance $(else) will have
> some defined value in the future?

"else" as a variable will never have another value.  The POSIX standard
for make reserves variables that start with "." and are all capitalized
for the implementation.

I suppose it's possible that there could be a function $(else ...)
created, but I can't imagine what that would be and it wouldn't conflict
with the variable "else" anyway.

So, you're good.




reply via email to

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