<div dir="ltr">Folks-<div><br></div><div>I have made a package that includes a src/makevars file generated automatically by Rcpp. It passes all checks.</div><div><br></div><div>contents of src/makevars:</div><div><div>PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)</div><div>PKG_CPPFLAGS += -I../inst/include/</div></div><div><br></div><div>I submitted to CRAN and got the following message:</div><div><br></div><div><span style="font-size:12.8000001907349px">* checking for GNU extensions in Makefiles ... WARNING</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Found the following file(s) containing GNU extensions:</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">  src/Makevars</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Portable Makefiles do not use GNU extensions such as +=, :=, $(shell),</span><br></div><div><br></div><div>Clearly, I have to remove the += wildcard.  How should I change it to make it "portable"?</div><div><br></div><div>also, CRAN complains about the lack of a LF at the end of src/makevars. Any thoughts on how to achieve this? </div><div><br></div><div>many thanks</div><div><br></div><div>peter r</div><div>bayesm author and struggling coder</div><div><br></div><div><br clear="all"><div><br></div><div> </div>
</div></div>