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.

Makefile 632B

1234567891011121314151617181920212223242526
  1. # Makefile for notify_touchy
  2. # Author: Bandie Canis
  3. # Licence: GNU-GPLv3
  4. all:
  5. mkdir -p bin
  6. cc --std=c99 src/notify_touchy.c -o bin/notify_touchy `pkg-config --cflags --libs libnotify`
  7. install:
  8. mkdir -p /usr/local/bin
  9. cp ./bin/notify_touchy /usr/local/bin/
  10. chown root:root /usr/local/bin/notify_touchy
  11. chmod 740 /usr/local/bin/notify_touchy
  12. @printf "Done.\n"
  13. @printf "You may want to configure a service for this program. Look into the systemd directory for a systemd example.\n"
  14. uninstall:
  15. rm /usr/sbin/local/notify_touchy
  16. @printf "Done.\n"
  17. clean:
  18. rm bin/notify_touchy
  19. rmdir bin
  20. test:
  21. @printf "What to test?\n"