forked from ivangarcia88/ffselection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
20 lines (18 loc) · 803 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all:
#mkdir -p correlation-output datasets-output mic
mkdir -p correlation-output datasets-output mic tmp
g++ src/main.cpp src/mictools.cpp src/pearson.cpp src/parallelmic.cpp src/samic.cpp src/grid.cpp src/approxmaxmi.cpp src/quicksort.cpp -o mic/mictools -pthread -O3
ln -sd mic/mictools mictools
debug:
mkdir -p debug
g++ -g src/main.cpp src/mictools.cpp src/pearson.cpp src/parallelmic.cpp src/samic.cpp src/grid.cpp src/approxmaxmi.cpp src/quicksort.cpp -o debug/mictools -pthread
wrapper:
#mkdir -p correlation-output datasets-output mic
cp src/wrapper/* src/
cd src/; python setup.py build
mv src/build/lib.*/* mic/mictools.so
rm src/pymictools.cpp
rm src/setup.py
rm -rf src/build
clean:
rm -rf correlation-output datasets-output mic debug mictools tmp datasets-test results