[Rd] Makevars and Makeconf sequencing

Simon Urbanek simon.urbanek at r-project.org
Sat Aug 24 02:22:53 CEST 2013


On Aug 23, 2013, at 7:53 PM, Ross Boylan <ross at biostat.ucsf.edu> wrote:

> http://cran.r-project.org/doc/manuals/R-exts.html#Configure-and-cleanup
> near the start of 1.2.1 Using Makevars says
> 
>> There are some macros which are set whilst configuring the building of
>> R itself and are stored in R_HOME/etcR_ARCH/Makeconf. That makefile is
>> included as a Makefile after Makevars[.win], and the macros it defines
>> can be used in macro assignments and make command lines in the latter.
>> 
> I'm confused.  If Makeconf is included after Makevars, then how can
> Makevars use macros defined in Makeconf?
> 

Because regular (recursively expanded) variables in makefiles are evaluated lazily (i.e., when substituted).


> Or is the meaning only that a variable definition in Makeconf can be
> overridden in Makevars?
> 
> Ross Boylan
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 



More information about the R-devel mailing list