# DARMA_OPENMP_THREADS is a natural number between 1 and the number of cores
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -DARMA_OPENMP_THREADS=1
# Use full LAPACK from rtools (R's Rlapack is a subset missing some routines)
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) -llapack -lblas $(FLIBS)

# Debugging

# uncomment one of the following lines to enable debugging
# PKG_CPPFLAGS = -UDEBUG -g
# PKG_CPPFLAGS = -UDEBUG -g -I vendor/

# uncomment to disable compiler optimizations
# PKG_CXXFLAGS = -Wall -O0 -pedantic
