-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
27 lines (19 loc) · 701 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
CXX ?= g++
CFLAGS = -Wall -Wconversion -O3 -fPIC
SHVER = 2
OS = $(shell uname)
all: va-offline va-online va-cv
va-offline: va-offline.cpp utilities.o svm.o va.o
$(CXX) $(CFLAGS) va-offline.cpp utilities.o svm.o va.o -o va-offline -lm
va-online: va-online.cpp utilities.o svm.o va.o
$(CXX) $(CFLAGS) va-online.cpp utilities.o svm.o va.o -o va-online -lm
va-cv: va-cv.cpp utilities.o svm.o va.o
$(CXX) $(CFLAGS) va-cv.cpp utilities.o svm.o va.o -o va-cv -lm
utilities.o: utilities.cpp utilities.h
$(CXX) $(CFLAGS) -c utilities.cpp
svm.o: svm.cpp svm.h
$(CXX) $(CFLAGS) -c svm.cpp
va.o: va.cpp va.h
$(CXX) $(CFLAGS) -c va.cpp
clean:
rm -f utilities.o svm.o va.o va-offline va-online va-cv