Skip to content
Back to formatted view

Raw Message

Message-ID: <3095AF57-EC53-4F58-BEF6-E2EAB87741F6@r-project.org>
Date: 2013-08-24T00:22:53Z
From: Simon Urbanek
Subject: Makevars and Makeconf sequencing
In-Reply-To: <1377302015.1062.38.camel@localhost>

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
> 
>