forked from zhipeng93/simrank
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (33 loc) · 919 Bytes
/
Makefile
File metadata and controls
38 lines (33 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Build targets
SimRank_O= core/SRBenchmark.cpp \
core/TSF.cpp \
core/PartialSR.cpp \
core/FingerPrint.cpp \
core/KMSR.cpp \
core/KMSRIndex.cpp \
core/FPSR.cpp \
core/topsim.cpp \
core/mytime.cpp \
core/NISim.cpp\
core/origNISim.cpp\
core/SimMatEVD.cpp\
core/SimMatSVD.cpp\
core/OptSimMatSVD.cpp\
core/OIPSimRank.cpp\
core/ParSRSimRank.cpp\
core/naiveSR.cpp\
USER_FLAGS=-Wno-unused-result -Wno-unused-but-set-variable -Wno-sign-compare
USER_LIBS=
# Compiler flags
CC = gcc
CXX = g++
CFLAGS=$(USER_FLAGS) -O3 -fPIC -Wall -g -I ./include -I ./include/arma -l lapack -l blas
CXXFLAGS=$(CFLAGS)
LDFLAGS=-lpthread
# The name of the excution that will be built
SimRank=SRbenchMark
all:
$(CXX) -w -pthread $(LDFLAGS) -o $(SimRank) $(SimRank_O) $(CXXFLAGS)
clean:
rm -f $(SimRank)
find . -name '*.o' -print | xargs rm -f