[Rd] Alternative for wildcard gnu extension in Makevars

Jan van der Laan rhelp at eoos.dds.nl
Wed May 13 17:27:50 CEST 2015

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?


More information about the R-devel mailing list