help-make
[Top][All Lists]
Advanced

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

RE: New to gmake


From: PATTON, BILLY \(SBCSI\)
Subject: RE: New to gmake
Date: Mon, 3 Apr 2006 06:31:15 -0500


> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On Behalf Of sharan
> Sent: Saturday, April 01, 2006 11:52 AM
> To: address@hidden
> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make
> 




reply via email to

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