> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of sharan
> Sent: Saturday, April 01, 2006 11:52 AM
> To: [email protected]
> Subject: New to gmake
> 
> 
> 
> Being new to make, I have some very basic questions
> 
> -- how to pass command line value to make 
>   e.g. If I want to pass a command line arg to make and use that 
>   when I run command

Try this to pass in command line arguments

gmake  ARG1=some_val ARG2=another_val

ARG1 and ARG2 can now be accessed with the makefile just like any other
variable

$(ARG1)


> 
> -- can I specify both VPATH and vpath in a single file. Or does 
> defining VPATH render vpath useless ?
> 
> Regards,
> Sharan
> --
> View this message in context: 
> http://www.nabble.com/New-to-gmake-t1380100.html#a3705741
> Sent from the Gnu - Make - Help forum at Nabble.com.
> 
> 
> 
> _______________________________________________
> Help-make mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-make
> 


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to