[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
+= and command line variables
From: |
Martin d Anjou |
Subject: |
+= and command line variables |
Date: |
Wed, 24 Dec 2008 12:06:33 -0500 (EST) |
User-agent: |
Alpine 1.10 (LNX 962 2008-03-14) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- += and command line variables,
Martin d Anjou <=