define RETURN endef
$(warning [$(RETURN)])
.PHONY: all all:
The output is as expected:
$ gmake GNUmakefile:3: [] gmake: Nothing to be done for `all'.
When I change it to:
define RETURN
endef
The output is not what I expect:
$ gmake GNUmakefile:3: [] gmake: Nothing to be done for `all'.
If I change it to:
define RETURN
endef
The output is what I wanted to get from the second definition:
$ gmake GNUmakefile:3: [ ] gmake: Nothing to be done for `all'.
Is this a bug?
Thanks, Noel
_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
