> > LINKIT_y = ln -f -s $(DEST_BIN)/$(VIMTARGET) $(DESTDIR)/usr/bin/vi
> > LINKIT_n = @:
> > LINKIT_ = $(LINKIT_n)
> > LINKIT = $(LINKIT_$(LINK_TO_VI))
> 
> This syntax looks invalid, using () inside ().  Another GNU make thing?

I tried this using the Solaris make and it works.

=============================== Makefile ===============================
SELECT=N
OPTION_Y=YES
OPTION_N=NO

all:
        @echo $(OPTION_$(SELECT))
========================================================================

$ make
NO
$ make SELECT=Y
YES

-- 
        Vlad

Attachment: pgp5ouBc75XFx.pgp
Description: PGP signature

Raspunde prin e-mail lui