Is this a bug?

# Makefile
.PHONY: test

define setvar
var:=$(1)
endef

ifeq (1,1)
$(eval $(call setvar,hi))
endif

test:
        @echo var=$(var)

#eof

[greg@p3 junk]$ make
Makefile:8: *** missing `endif'.  Stop.


- Greg Keraunen
http://www.xmake.org
http://www.xmlmake.com



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to