## Use the R_HOME indirection to support installations of multiple R version

## KEEP
#PKG_CPPFLAGS = -I${R_HOME}/library/Rcpp/include \
#               -I${R_HOME}/library/RcppEigen/include  -I. -DNDEBUG


PKG_CXXFLAGS = -DNDEBUG
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

