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: Galen Seitz
Subject: Re: How to access make argument? (simple question)
Date: Thu, 14 May 2009 11:35:44 -0700
User-agent: Thunderbird 2.0.0.19 (X11/20090107)

yabo wrote:
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? Thanks.

MAKECMDGOALS

See this section of the make manual:
http://www.gnu.org/software/make/manual/html_node/Goals.html


--
Galen Seitz
address@hidden




reply via email to

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