1 define multiline 2 for i in 1 2 3 PASS; do\ 3 echo $$i; \ 4 done 5 endef 6 7 test: 8 echo "$(multiline)" 9 $(multiline) 10 11