## Use the R_HOME indirection to support installations of multiple R version
CXX_STD = CXX11
PKG_CPPFLAGS = -I../inst/include/armadillo/include -I../inst/include/optim-master/header_only_version
PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
