SensingLab3/makefile

19 lines
561 B
Makefile

all: contour_detection
g++ contour_detection.o -o contour_detection -L/usr/lib/x86_64-linux-gnu -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs -lopencv_videoio
contour_detection: contour_detection.cpp
g++ -c contour_detection.cpp -I/usr/include/opencv4/opencv2 -I/usr/include/opencv4
main: main.cpp
g++ -c main.cpp -I/usr/include/opencv4
arithmetic: arithmetic.cpp arithmetic.h
g++ -c arithmetic.cpp
hello_world: hello_world.cpp
g++ -c hello_world.cpp -I/usr/include/opencv4/opencv2 -I/usr/include/opencv4
clean:
rm *.o
rm a.out