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

4 years ago
4 years ago
4 years ago
  1. # sselp - simple print selection
  2. SRC = simcrop.cpp
  3. OBJ = ${SRC:.c=.o}
  4. all: simcrop.cpp
  5. g++ -I/usr/include/opencv4 -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_tracking -o "simcrop" "simcrop.cpp"
  6. clean:
  7. @echo cleaning
  8. @rm -f simcrop
  9. @rm -f /usr/local/bin/simcrop
  10. install: all
  11. @echo installing executable file to /usr/local/bin
  12. @mkdir -p /usr/local/bin
  13. @cp -f simcrop /usr/local/bin
  14. @chmod 755 /usr/local/bin/simcrop
  15. uninstall:
  16. @echo removing executable file from /usr/local/bin
  17. @rm -f /usr/local/bin/simcrop