Follow-up Comment #2, bug #59154 (project make):

This is done on purpose.  Newlines in variable expansions are treated as real
newlines in the rule.  If they weren't, then multiline definitions would not
work at all:


define MYRULE
echo hello
echo world
endef

all: ; $(MYRULE)


I suppose there may be some way to special-case things, I'm not sure.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59154>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to