1
工作,我試圖用一個multiline variable definition in my Makefile,它似乎並沒有爲我工作:多變量定義不Makefile中
$ cat Makefile
define foo =
I'm a little teapot
short and stout
here is my handle
here is my spout
endef
all:
echo "$(foo)"
$ make all
echo ""
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
我在做什麼錯?