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: Eli Zaretskii
Subject: Re: How to access make argument? (simple question)
Date: Thu, 14 May 2009 22:10:16 +0300

> 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.




reply via email to

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