SensingLab3/makefile

16 lines
381 B
Makefile

all: hello_world
g++ hello_world.o -o hello_world -L/usr/lib/x86_64-linux-gnu -lopencv_core -lopencv_highgui -lopencv_imgproc
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