-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
29 lines (20 loc) · 1.11 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
cluster: build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/kmeans.o build/cluster.o build/main.o
g++ -O3 build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/kmeans.o build/cluster.o -o cluster
lsh: build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/kmeans.o build/cluster.o
g++ -O3 build/main.o build/read_binary_file.o build/bucket.o build/exhausting.o build/lsh.o build/kmeans.o build/cluster.o -o search
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/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
clean:
rm search cluster build/*.o