-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
19 lines (13 loc) · 920 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clean:
rm -f capture_positives.out test_opencv.out train.out lock.out
.PHONY : all
all: capture_positives.out train.out lock.out test_opencv.out
.DEFAULT_GOAL := all
capture_positives.out: capture_positives.cpp face_detect.cpp hardware.cpp files.cpp
g++ -g capture_positives.cpp face_detect.cpp hardware.cpp files.cpp -o capture_positives.out -lopencv_core -lopencv_imgcodecs -lopencv_videoio -lopencv_imgproc -lopencv_objdetect
train.out: train.cpp files.cpp face_detect.cpp
g++ -g train.cpp files.cpp face_detect.cpp -o train.out -lopencv_core -lopencv_imgcodecs -lopencv_imgproc -lopencv_face -lopencv_objdetect
lock.out: lock.cpp face_detect.cpp hardware.cpp
g++ -g lock.cpp face_detect.cpp hardware.cpp -o lock.out -lopencv_core -lopencv_face -lopencv_videoio -lopencv_objdetect -lopencv_imgproc -lopencv_imgcodecs
test_opencv.out: test_opencv.cpp
g++ -g test_opencv.cpp -o test_opencv.out -lopencv_core