01-25-07 12:19 AM
On Jan 24, 5:55 pm, Gary Wessle <phd...@yahoo.com> wrote:
> hi
>
> ifeq ($(ARCH),SunOS)
>
> does the above expression mean that if the variable ARCH has the
> string "SunOS" in it then return true?
>
> thanks
Assuming this is an excerpt from a GNU make makefile, which it
certainly looks like, you are right. It does compare the value of the
string inside the ARCH macro variable with the string SunOS. It does
not return true, however, but simply executes whatever command follows
the "ifeq ($(ARCH), SunOS) line and comes before the next endif command.
[ Post a follow-up to this message ]
|