help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using environmnet variables in make


From: albob
Subject: Using environmnet variables in make
Date: Thu, 26 Feb 2009 09:28:00 -0800 (PST)

Hi,
   I have the following Makefile

.EXPORT_ALL_VARIABLES:
.SUFFIXES:

test:
   export QA_STEP=start ;
   touch ${QA_STEP};

Which I run using "gmake". This gives me:

slappy628: gmake test
export QA_STEP=qa_rtl ;
touch  ;
touch: file arguments missing
Try `touch --help' for more information.
gmake: *** [test] Error 1

Can anyone tell me what I am doing wrong? No matter what I try I can not get
it to pick up on the environment variable set. Help would be much
appreciated.
Thanks
       Alan

-- 
View this message in context: 
http://www.nabble.com/Using-environmnet-variables-in-make-tp22229241p22229241.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]