Hi,

Why does this work:

$ cat Makefile
all:
        echo $(FOO)
$ make FOO=a
echo a
a
$ make FOO=a FOO=b
echo b
b
$ make FOO=a FOO+=b
echo a b
a b
$ make FOO=a FOO+=b FOO+=c
echo a b c
a b c

What level of support is there for += on the command line?
http://lists.gnu.org/archive/html/help-make/2005-11/msg00006.html

Martin


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to