Hi, I'm using the following makefile code that works on GNU/Linux:
var0="abc"
ifeq ($(var0),"abc")
var1=alpha
else
var1=beta
endif
all:
@echo $(var1)
But on Solaris, it produces an error "unexpected line end" or something to that effect. How can I get the desired behavior on Solaris?