-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
85 lines (57 loc) · 3.94 KB
/
makefile
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
cluster: build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o build/main.o
g++ build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o cluster
lsh: build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o build/main.o
g++ build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o lsh
cube: build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o build/main.o
g++ build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o cube
build/main.o: src/main.cpp
g++ -c src/main.cpp -o build/main.o
build/read_binary_file.o: src/read_binary_file.cpp
g++ -c src/read_binary_file.cpp -o build/read_binary_file.o
build/bucket.o: src/bucket.cpp
g++ -c src/bucket.cpp -o build/bucket.o
build/exhausting.o: src/exhausting.cpp
g++ -c src/exhausting.cpp -o build/exhausting.o
build/lsh.o: src/lsh.cpp
g++ -c src/lsh.cpp -o build/lsh.o
build/hypercube.o: src/hypercube.cpp
g++ -c src/hypercube.cpp -o build/hypercube.o
build/kmeans.o: src/kmeans.cpp
g++ -c src/kmeans.cpp -o build/kmeans.o
build/cluster.o: src/cluster.cpp
g++ -c src/cluster.cpp -o build/cluster.o
build/ra_lsh.o: src/ra_lsh.cpp
g++ -c src/ra_lsh.cpp -o build/ra_lsh.o
build/ra_hypercube.o: src/ra_hypercube.cpp
g++ -c src/ra_hypercube.cpp -o build/ra_hypercube.o
clean:
rm cube lsh cluster build/*.o
############################################################
# cluster: build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o build/main.o
# g++ -O3 build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o cluster
# lsh: build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o
# g++ -O3 build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o lsh
# cube: build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o
# g++ -O3 build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/hypercube.o build/kmeans.o build/cluster.o build/ra_lsh.o build/ra_hypercube.o -o cube
# build/main.o: src/main.cpp
# g++ -O3 -c src/main.cpp -o build/main.o
# build/read_binary_file.o: src/read_binary_file.cpp
# g++ -O3 -c src/read_binary_file.cpp -o build/read_binary_file.o
# build/bucket.o: src/bucket.cpp
# g++ -O3 -c src/bucket.cpp -o build/bucket.o
# build/exhausting.o: src/exhausting.cpp
# g++ -O3 -c src/exhausting.cpp -o build/exhausting.o
# build/lsh.o: src/lsh.cpp
# g++ -O3 -c src/lsh.cpp -o build/lsh.o
# build/hypercube.o: src/hypercube.cpp
# g++ -O3 -c src/hypercube.cpp -o build/hypercube.o
# build/kmeans.o: src/kmeans.cpp
# g++ -O3 -c src/kmeans.cpp -o build/kmeans.o
# build/cluster.o: src/cluster.cpp
# g++ -O3 -c src/cluster.cpp -o build/cluster.o
# build/ra_lsh.o: src/ra_lsh.cpp
# g++ -O3 -c src/ra_lsh.cpp -o build/ra_lsh.o
# build/ra_hypercube.o: src/ra_hypercube.cpp
# g++ -O3 -c src/ra_hypercube.cpp -o build/ra_hypercube.o
# clean:
# rm cube lsh cluster build/*.o