help-make
[Top][All Lists]
Advanced

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

Re: Re: GNU Make Question


From: Ken Smith
Subject: Re: Re: GNU Make Question
Date: Sat, 4 Nov 2006 09:37:51 -0800

On 11/3/06, Bryan Ischo <address@hidden> wrote:

> On 11/2/06, Andrew (Cheng-Liang) Hou <address@hidden> wrote:
>>
>>
>> Hi,
>>
>> Can I use ifeq/ifneq in define block?
>> The example like as:
[...]

> Yes.  Try the below with 3.81.
[...]

Is this new behavior in GNU Make 3.81?

No, this works with GNU Make 3.80 as well.  I didn't test others.  I
have gotten used to using $(info) since I have switched to 3.81 so I
didn't think twice about it.  If you change these lines

$(info x = "$(x)")
$(info y = "$(y)")
$(info z = "$(z)")

to

$(warning x = "$(x)")
$(warning y = "$(y)")
$(warning z = "$(z)")

You'll be able to test with earlier versions of GNU Make.

 Ken




reply via email to

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