[Rd] Alternative for wildcard gnu extension in Makevars
Jan van der Laan
rhelp at eoos.dds.nl
Wed May 13 18:05:09 CEST 2015
Dirk Eddelbuettel <edd at debian.org> schreef:
> On 13 May 2015 at 17:27, Jan van der Laan wrote:
> | I have some cpp-files from another library (boost) in a subdirectory
> | in my src directory (src/boost_src). I include these using the
> | following two lines in my Makevars:
> | SOURCES = $(wildcard *.cpp boost_src/*.cpp)
> | OBJECTS = $(SOURCES:.cpp=.o)
> | However, R CMD check complains about my use of 'wildcard'. How do I
> | handle this without any gnu extensions?
> I looked into this a few weeks (months?) ago, and it would appear that you
> I would recommend the alternative offered in Writing R Extensions: renamed it
> GNUmakefile or add a SystemRequirements: GNU make.
Too bad. Since it is only a handful of files, I will probably move
them directly into the src directory and prefix them. It would have
been nice to have been able to keep them separate.
More information about the R-devel