littletomatodonkey e2b4ca58c6
fix so make in windows (#849)
* fix so make in windows

* add index.exe for win

* fix doc

* fix yaml

* fix exe to dll
2021-06-16 15:43:52 +08:00

15 lines
296 B
Makefile

CXX=g++
ifeq ($(OS),Windows_NT)
postfix=dll
else
postfix=so
endif
all : index
index : src/config.h src/graph.h src/data.h interface.cc
${CXX} -shared -fPIC interface.cc -o index.${postfix} -std=c++11 -Ofast -march=native -g -flto -funroll-loops -DOMP -fopenmp
clean :
rm index.${postfix}