Repository navigation
Expand file tree
/
Copy pathmakefile
More file actions
59 lines (41 loc) · 1.91 KB
/
Copy pathmakefile
File metadata and controls
59 lines (41 loc) · 1.91 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
CC = g++
SRC_DIR = source
BLD_DIR = build
OPT_FLAGS = -O3
graph_search: gnnsDemo.o dataProcessing.o dataLoading.o mathLib.o linearCombinationHash.o \
LSH.o randomHelper.o euclideanSpaceMemberFunction.o exhaustiveSearch.o \
GNNS.o SearchOnGraph.o GraphCreation.o
${CC} gnnsDemo.o dataProcessing.o dataLoading.o mathLib.o linearCombinationHash.o \
LSH.o randomHelper.o euclideanSpaceMemberFunction.o exhaustiveSearch.o \
GNNS.o SearchOnGraph.o GraphCreation.o -o ./${BLD_DIR}/graph_search.exe ${OPT_FLAGS}
make clean
haste1: graph_search
./${BLD_DIR}/graph_search.exe -d ./Data/train-images.idx3-ubyte -q ./Data/t10k-images.idx3-ubyte -o ./out_GNNS.txt -m 1 -N 10 -R 3 -E 20 -k 30
haste2: graph_search
./${BLD_DIR}/graph_search.exe -d ./Data/train-images.idx3-ubyte -q ./Data/query.1K.dat -o ./out_MRNG.txt -m 2 -N 10 -l 20
clean:
del *.o
gnnsDemo.o :
${CC} -c ./${SRC_DIR}/Sim/gnnsDemo.cpp ${OPT_FLAGS}
dataProcessing.o :
${CC} -c ./${SRC_DIR}/DataProcessing/dataProcessing.cpp ${OPT_FLAGS}
dataLoading.o :
${CC} -c ./${SRC_DIR}/DataProcessing/dataLoading.cpp ${OPT_FLAGS}
mathLib.o :
${CC} -c ./${SRC_DIR}/MathLib/mathLib.cpp ${OPT_FLAGS}
linearCombinationHash.o:
${CC} -c ./${SRC_DIR}/GraphCreation/LSH/LinearCombinationHash/linearCombinationHash.cpp ${OPT_FLAGS}
LSH.o:
${CC} -c ./${SRC_DIR}/GraphCreation/LSH/LSH.cpp ${OPT_FLAGS}
randomHelper.o:
${CC} -c ./${SRC_DIR}/RandomHelper/randomHelper.cpp ${OPT_FLAGS}
euclideanSpaceMemberFunction.o:
${CC} -c ./${SRC_DIR}/GraphCreation/LSH/EuclideanSpace/euclideanSpaceMemberFunction.cpp ${OPT_FLAGS}
exhaustiveSearch.o:
${CC} -c ./${SRC_DIR}/ExhaustiveSearch/exhaustiveSearch.cpp ${OPT_FLAGS}
GNNS.o:
${CC} -c ./${SRC_DIR}/GraphSearch/GNNS.cpp ${OPT_FLAGS}
SearchOnGraph.o:
${CC} -c ./${SRC_DIR}/GraphSearch/SearchOnGraph.cpp ${OPT_FLAGS}
GraphCreation.o:
${CC} -c ./${SRC_DIR}/GraphCreation/GraphCreation.cpp ${OPT_FLAGS}