From 053e5ac36dfce0f4247bcf91656a11016701c997 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Oct 2016 23:23:49 +0200 Subject: 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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) -- cgit v1.2.3-70-g09d2