notify_touchy/Makefile

27 lines
632 B
Makefile
Raw Permalink Normal View History

2018-03-18 19:28:10 +00:00
# Makefile for notify_touchy
# Author: Bandie Canis
# Licence: GNU-GPLv3
all:
mkdir -p bin
2018-03-29 03:19:25 +00:00
cc --std=c99 src/notify_touchy.c -o bin/notify_touchy `pkg-config --cflags --libs libnotify`
2018-03-18 19:28:10 +00:00
install:
mkdir -p /usr/local/bin
cp ./bin/notify_touchy /usr/local/bin/
chown root:root /usr/local/bin/notify_touchy
chmod 740 /usr/local/bin/notify_touchy
@printf "Done.\n"
2018-04-04 13:29:59 +00:00
@printf "You may want to configure a service for this program. Look into the systemd directory for a systemd example.\n"
2018-03-18 19:28:10 +00:00
uninstall:
rm /usr/sbin/local/notify_touchy
@printf "Done.\n"
clean:
rm bin/notify_touchy
rmdir bin
2018-03-29 03:06:17 +00:00
test:
@printf "What to test?\n"