# flags that can be used:
# -DUSE_DOUBLES to use double instead of float
# -DVERBOSE to get verbose clustering output

# adapt these paths to your local environment
PYBIND11PATH = $(HOME)/pybind11-master/include # include path to Pybind11
PYTHONPATH = /usr/include/python3.8 # include path to Python

#build the library
all: inc_cluster.cpp inc_cluster.h inc_cluster_wrap.cpp \
cftree.h cftree.cpp \
ikmeans.h ikmeans.cpp
	c++ -O3 -Wall -shared -std=c++11 -fPIC \
	-I$(PYBIND11PATH) -I$(PYTHONPATH) \
	inc_cluster.cpp inc_cluster_wrap.cpp cftree.cpp ikmeans.cpp -o incremental_clustering.so

