[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to compare 2 numeric values inside a macro
From: |
patrick |
Subject: |
how to compare 2 numeric values inside a macro |
Date: |
Wed, 4 Jun 2014 12:20:48 -0700 (PDT) |
hello, is there any way to compare 2 numeric values inside a macro, the
numeric values should be the parameters, for example something like this:
define compare
$(if ($(1)>$(2)),yes,no)
endef
--
View this message in context:
http://gnu-make.2324884.n4.nabble.com/how-to-compare-2-numeric-values-inside-a-macro-tp15562.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
- how to compare 2 numeric values inside a macro,
patrick <=