CXX_STD = CXX11
PKG_LIBS += $(shell ${R_HOME}/bin/Rscript \
              -e "RcppParallel::RcppParallelLibs()")

PKG_CPPFLAGS += -I../inst/include

OBJECTS = $(shell ${R_HOME}/bin/Rscript \
            -e "cat(sub('cc$$|cpp$$', 'o', list.files('.', '[.](cc|cpp)$$', recursive = TRUE, full.names = TRUE)))")
