Hi all.

All my attempts to put function $(eval ...) (any kind of usage), within
conditionals (ifeq ... endif), finishing up with 'missing 'endif'' error.
Looks like a bug in the make itself. Any ideas of how to pass through?
A piece of code for reference

define FOO
AA = BB
endef

ifeq ($(BAR),$(empty))
   $(eval $(FOO))
endif

.PHONY: all

all:
       @echo $(AA)
RESULT::

test.mak:6: *** missing `endif'.  Stop.

-- 
Regards,
Kiril
_______________________________________________
Make-w32 mailing list
Make-w32@gnu.org
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to