On Tue, 2005-03-08 at 18:01 +0100, Gilles DELIFER wrote:
> I'd like to write something like:
> $(if ($(_HARDWARE_REVISION) > 005),DEFS+=-D_ADD_THIS,DEFS+=-D_ADD_THAT)
> but I cannot find the right syntax for doing this...

Gilles,

Take a look at my "GNU Make Standard Library" (URL is in my sig).  There
are functions in there for doing integer arithmetic and comparisons.

John.
-- 
John Graham-Cumming

Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to