Re: Exported vs command line variables

2016-09-20 Thread Brian Vandenberg
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

Re: Exported vs command line variables

2016-09-19 Thread Rakesh Sharma
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