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.

21 lines
522 B

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. install: all
  10. @echo installing executable file to /usr/local/bin
  11. @mkdir -p /usr/local/bin
  12. @cp -f simcrop /usr/local/bin
  13. @chmod 755 /usr/local/bin/simcrop
  14. uninstall:
  15. @echo removing executable file from /usr/local/bin
  16. @rm -f /usr/local/bin/simcrop