[Top][All Lists]

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

Re: win32 compilation of make 4.0 source code‏

From: Paul Smith
Subject: Re: win32 compilation of make 4.0 source code‏
Date: Fri, 24 Jan 2014 14:28:36 -0500

On Fri, 2014-01-24 at 11:03 -0800, Mark Brown wrote:
> I had a  make.exe 3.80 and it had problems with "else ifeq"
> constructs, so that forced me to seek a more recent version for win32.

Yes that version didn't support it.  You can look at the latest NEWS
file for info on what appeared when:


> As a separate related issue, I was try to echo the .FEATURES
> information, since one of the its it claims to display mentions its
> Else If capabilities. However, every time I tried to echo the data I
> received a syntax error. What would be an example of a Makefile
> contents which would display the .FEATURES information ?

There are a number of ways.  Here's one that works with newer versions
of GNU make (this is POSIX shell syntax):

  echo 'all: ; @echo FEATURES is $(.FEATURES)' | make -f-

reply via email to

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