help-make
[Top][All Lists]
Advanced

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

Re: How to access make argument? (simple question)


From: yabo
Subject: Re: How to access make argument? (simple question)
Date: Thu, 14 May 2009 12:38:10 -0700 (PDT)

Thanks! 


Eli Zaretskii wrote:
> 
>> Date: Thu, 14 May 2009 06:35:49 -0700 (PDT)
>> From: yabo <address@hidden>
>> 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
> address@hidden
> 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.





reply via email to

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