How to use multiple-line variable in recipe?

file-name: multiple-line-variable

```
define foo =
echo welcome
endef

export foo

all:
    echo $(foo)

```

I get following output. But i expect 'welcome' print.

```
$ make -f multiple-line-variable
echo 

```