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.
 
 

26 lines
632 B

# Makefile for notify_touchy
# Author: Bandie Canis
# Licence: GNU-GPLv3
all:
mkdir -p bin
cc --std=c99 src/notify_touchy.c -o bin/notify_touchy `pkg-config --cflags --libs libnotify`
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"
@printf "You may want to configure a service for this program. Look into the systemd directory for a systemd example.\n"
uninstall:
rm /usr/sbin/local/notify_touchy
@printf "Done.\n"
clean:
rm bin/notify_touchy
rmdir bin
test:
@printf "What to test?\n"