You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
553 B

# sselp - simple print selection
SRC = simcrop.cpp
OBJ = ${SRC:.c=.o}
all: simcrop.cpp
g++ -I/usr/include/opencv4 -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_tracking -o "simcrop" "simcrop.cpp"
clean:
@echo cleaning
@rm -f simcrop
@rm -f /usr/local/bin/simcrop
install: all
@echo installing executable file to /usr/local/bin
@mkdir -p /usr/local/bin
@cp -f simcrop /usr/local/bin
@chmod 755 /usr/local/bin/simcrop
uninstall:
@echo removing executable file from /usr/local/bin
@rm -f /usr/local/bin/simcrop