help-make
[Top][All Lists]
Advanced

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

Re: rules and macro query


From: Payal
Subject: Re: rules and macro query
Date: Fri, 7 May 2010 23:45:46 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, May 06, 2010 at 12:27:22PM -0400, Paul Smith wrote:
Thanks Paul and Philips for the answers.
 
> > 3. A silly query. In a rule, after target : prereq. can only these
> > things come,
> > a. a shell command (after a hard tab)
> > b. a make comment
> > 
> > Can't we give "make" variables or functions there? If yes, can someone
> > give simple example or two please?
> 
> You cannot.  After the colon from a target you can have EITHER
> prerequisites or a semicolon/recipe combination, OR a target variable
> assignment.
> 
> You cannot, ever, mix and match in the same target definition.


Well, I didn't mean that. I mean after 
target : prereq
What *make* this can come?
I got the answer of this in "Managing Projects With GNU Make" section
7.1

With warm regards,
-Payal
-- 





reply via email to

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