PKG_CPPFLAGS = -DARMA_64BIT_WORD=1 -I.
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

# Include all C++ files in src/ and its subdirectories.
SOURCES=MAPIT.cpp RcppExports.cpp  gsm/gsm.cpp logging/log.cpp mapit/davies.cpp mapit/normal.cpp mapit/projection.cpp mapit/pve.cpp mapit/util.cpp mqs/mqs.cpp tests/test-compare-to-original-mapit.cpp tests/test-davies.cpp tests/test-gsm.cpp tests/test-log.cpp tests/test-mqs.cpp tests/test-normal.cpp tests/test-projection.cpp tests/test-pve.cpp tests/test-runner.cpp tests/test-util.cpp

# To compile code in subdirectories of src/, each of the files contained
# must be specified in the src/Makevars file OBJECTS variable
OBJECTS=$(SOURCES:.cpp=.o)
