1d0870f893
change cmd line args add config path HOME/.config/systemd-gotify/config add makefile add build and install to makefile
8 lines
281 B
Makefile
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
|
|
|