File size: 566 Bytes
e941adc
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
CFLAGS=-O3 -Wall

detect-image: detect-image.o
	g++ $(CFLAGS) -o detect-image -L /libfacedetection/build/install/lib/ -I /usr/include/opencv4/ -I /libfacedetection/build/install/include/facedetection detect-image.o -lfacedetection -fopenmp -lopencv_imgcodecs -lopencv_objdetect -lopencv_features2d -lopencv_imgproc -lopencv_highgui -lopencv_core

detect-image.o: detect-image.cpp
	g++ $(CFLAGS) -I /usr/include/opencv4 -I /libfacedetection/build/install/include/facedetection -o detect-image.o -c detect-image.cpp -fopenmp

clean:
	rm -f detect-image.o detect-image