This makefile example should help clear things up:
$ cat makefile
SHELL := bash
.RECIPEPREFIX := >
blah1 := test1
blah2 := test2
export blah2
# blah2 & blah3 should have identical results
export blah3 := test3
default:
>@$(foreach x,blah1 blah2 blah3 blah4 blah5,echo "${x}: (origin = $(origin
${x
There is no difference between the two. They both declare environment variables
for make.
From: Help-make on behalf of
Pietro
Sent: Monday, September 19, 2016 9:32 AM
To: help-make@gnu.org
Subject: Exported vs command line variables
Hi,
I have noticed that t