help-make
[Top][All Lists]
Advanced

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

Re: Variable with name of current target (from command line)?


From: Michael Weise
Subject: Re: Variable with name of current target (from command line)?
Date: Thu, 10 Oct 2013 14:29:12 +0200

On Thu, 10 Oct 2013 08:14:08 -0400
Paul Smith <address@hidden> wrote:

> On Thu, 2013-10-10 at 13:56 +0200, Michael Weise wrote:
> > I want the name of the "main" target from the command line, not the
> > one of some prerequisite.
> 
> Look up the MAKECMDGOALS variable in the GNU make manual.
> 

Thanks, that's what I was looking for.

Regards
Michael



reply via email to

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