Re: make 3.82 for Win32 differs from documentation ?

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Organization GNU's Not UNIX!
Message-ID <1306422014.27269.50.camel@psmith-ubeta>
On Thu, 2011-05-26 at 10:45 +0200, pasman pasmański wrote:
> 1.  .NOSHELL not work. Makefile:

Correct: ONESHELL is not ported to Windows.  As Eli said, anyone who can
help with this is welcome.

> 2. private not work. Makefile:
> 
> test1: private a=1
> test1: test2
>         echo -$$a-
> test2:
>         echo -$$a-

The private keyword DOES work on Windows.  You're misunderstanding what
it does, or anyway using it incorrectly.  Write your makefile like this:

test1: private a=1
test1: test2
        echo -$(a)-
test2:
        echo -$(a)-

Private works on _make_ variables, not _shell_ variables.

> 3. SHELL is readonly, SHELLFLAGS not  work

I don't know why this would be so, but someone familiar with the Windows
port will need to comment.


Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.