CXX_STD = CXX17
PKG_CPPFLAGS=-I.
PKG_CXXFLAGS=$(SHLIB_OPENMP_CXXFLAGS)
PKG_LIBS=$(SHLIB_OPENMP_CXXFLAGS)

SOURCES=RcppExports.cpp \
	dig.cpp \
	triangle.cpp \
	raisedcos.cpp \
	which_antichain.cpp \
	test-runner.cpp \
	test-antichain-Condition.cpp test-antichain-Node.cpp test-antichain-Tree.cpp test-dig-Bitset.cpp \
	test-dig-BitChain.cpp test-dig-DualChain.cpp test-dig-Iterator.cpp test-dig-SparseBitChain.cpp \
	test-dig-Task.cpp test-dig-TaskSequence.cpp test-dig-VectorNumChain.cpp \
	dig/SimdVectorNumChain.cpp dig/VectorNumChain.cpp

# Obtain the object files
OBJECTS=$(SOURCES:.cpp=.o)

# Make the shared object
all: $(SHLIB)

# Provide recipe to remove all objects
clean:
	@rm -f $(OBJECTS)
