systemd-gotify/makefile
Jonathan Santis 1d0870f893 fix argument parsing
change cmd line args
add config path HOME/.config/systemd-gotify/config
add makefile
add build and install to makefile
2024-09-16 11:30:50 +02:00

8 lines
281 B
Makefile

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:
cp ./systemd-gotify.bin /usr/local/bin/systemd-gotify
mkdir $${HOME}/.config/systemd-gotify/
cp config $${HOME}/.config/systemd-gotify/config