systemd-gotify/makefile

11 lines
418 B
Makefile
Raw Normal View History

default:
gcc main.c config.c -lcurl -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 -o systemd-gotify.bin
install:
2024-09-16 09:46:42 +00:00
sudo cp ./systemd-gotify.bin /usr/local/bin/systemd-gotify
mkdir $${HOME}/.config/systemd-gotify/
cp config $${HOME}/.config/systemd-gotify/config
2024-09-16 09:50:02 +00:00
uninstall:
sudo rm /usr/local/bin/systemd-gotify
rm $${HOME}/.config/systemd-gotify/config
rm $${HOME}/.config/systemd-gotify/ -r