[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How make interprets MAKEFLAGS?(2)
From: |
ali hagigat |
Subject: |
Re: How make interprets MAKEFLAGS?(2) |
Date: |
Mon, 7 Feb 2011 10:31:59 +0330 |
Much appreciate you for the reply.
At the first example we had n too:
/root> export MAKEFLAGS=--ignore-errorsuuzzz
/root> make -f makefile23
k
But MAKEFLAGS was not set to n. How make parses the string,
"--ignore-errorsuuzzz"? It adds, hyphen first, it becomes:
"---ignore-errorsuuzzz" then it chops the words, is that right? what
will be the words?
How n is extracted from "---ignore-errorsuuzzz"?
On Mon, Feb 7, 2011 at 8:53 AM, Paul Smith <address@hidden> wrote:
> On Mon, 2011-02-07 at 08:23 +0330, ali hagigat wrote:
>> /root> export MAKEFLAGS=-ignore-errorsuuzzz
>> /root> make -f makefile23
>> MAKEFLAGS= && echo nki
>> ---------------------------------------
>> Why in the second example MAKEFLAGS was set to n?!!
>
> Because "-ignore-errorsuuzzz" has an "n" in it.
>
> --
> -------------------------------------------------------------------------------
> Paul D. Smith <address@hidden> Find some GNU make tips at:
> http://www.gnu.org http://make.mad-scientist.net
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
>
>