aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-10-05 23:23:49 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-10-05 23:47:53 +0200
commit053e5ac36dfce0f4247bcf91656a11016701c997 (patch)
treea258372f26205bbd0ea2749a709b2822e3552455 /Makefile
parent90b01922ea7622de0eab2216912445040389ed5c (diff)
downloadmpd-notification-053e5ac36dfce0f4247bcf91656a11016701c997.tar.gz
mpd-notification-053e5ac36dfce0f4247bcf91656a11016701c997.tar.zst
support reading options from config file
This tries to read ~/.local/mpd-notification.conf, which is expected to look like this: host = localhost port = 6600 music-dir = /srv/media/music/ scale = 200 timeout = 20 Unused options can be commented or removed completely.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c24e215..e2a1707 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ RM := rm
# flags
CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror
+CFLAGS += -liniparser
CFLAGS += $(shell pkg-config --cflags --libs libmpdclient)
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat libavutil 2>/dev/null)