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 -- _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
