Thanks! 

Eli Zaretskii wrote:
> 
>> Date: Thu, 14 May 2009 06:35:49 -0700 (PDT)
>> From: yabo <[email protected]>
>> Cc: 
>> 
>> 
>> Example situation: 
>> From a cmd shell, we run "make all"
>> 
>> Once in a makefile, is the string "all" (or whatever target you chose) in
>> some variable that I can access?
> 
> It's available in the MAKECMDGOALS variable and also in the $@
> variable within each rule.
> 
> 
> _______________________________________________
> Help-make mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-make
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-access-make-argument--%28simple-question%29-tp23540741p23547557.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.



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

Reply via email to