help-make
[Top][All Lists]
Advanced

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

Re: converting nmake to gnumake


From: Paul D. Smith
Subject: Re: converting nmake to gnumake
Date: Fri, 26 May 2006 15:07:52 -0400

%% "Tobias Contreras" <address@hidden> writes:

  tc> In nmake there is the ability to use || "or" in the conditionals,
  tc> I see that there is none of this in gnumake, why is that?

I'm not sure how to answer this.

  tc> And how would I convert this "or conditional" to something gnumake
  tc> will like.

If you're using GNU make 3.81 you can use the $(or ...) and $(and ...)
functions.

Be sure you understand how make determines true vs. false in boolean
contexts.


If you aren't using 3.81, there are various tricks you can use: we'll
need more information about EXACTLY what you're trying to do.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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