help-make
[Top][All Lists]
Advanced

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

Re: SHELL variable and its value from user’ s environment


From: Philip Guenther
Subject: Re: SHELL variable and its value from user’ s environment
Date: Sat, 15 Jan 2011 00:40:14 -0800

On Sat, Jan 15, 2011 at 12:15 AM, ali hagigat <address@hidden> wrote:
> The manual says that the default value of .SHELLFLAGS is -c, why @echo
> $(.SHELLFLAGS) returns nothing?

Because, despite being told about this multiple times before, you read
the manual for the current version, 3.82, but run an older version?

$ cat /tmp/f
all:
        @echo $(.SHELLFLAGS)
$ gmake -f /tmp/f
-c
$ gmake --version
GNU Make 3.82
Built for x86_64-unknown-openbsd4.8
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$


Philip Guenther



reply via email to

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