forked from dominikgrimm/SV-M
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (23 loc) · 816 Bytes
/
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
clean:
rm -rf build
rm -rf bin
createdirs:
mkdir -p build
mkdir -p bin
all: sv-m
globals.o: src/globals.cc
g++ -Wall -c -o build/globals.o src/globals.cc
configs.o: src/configs.cc
g++ -Wall -c -o build/configs.o src/configs.cc
sv-m.o: src/sv-m.cc
g++ -Wall -c -o build/sv-m.o src/sv-m.cc
svm.o: src/svm.cpp
g++ -Wall -c -o build/svm.o src/svm.cpp
svmclass.o: src/svmclass.cc
g++ -Wall -c -o build/svmclass.o src/svmclass.cc
StringHelper.o: src/StringHelper.cc
g++ -Wall -c -o build/StringHelper.o src/StringHelper.cc
svm_predict.o: src/svm_predict.cc
g++ -Wall -c -o build/svm_predict.o src/svm_predict.cc
sv-m: createdirs sv-m.o StringHelper.o svm.o svmclass.o globals.o configs.o
g++ -o bin/sv-m build/sv-m.o build/StringHelper.o build/svm.o build/svmclass.o build/globals.o build/configs.o