diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-25 09:13:15 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-25 09:13:15 +0200 |
commit | 389c123beb48dab2c8a179b86e4f697b6bbd6c4d (patch) | |
tree | ce78363bdd6a0c297b6c6d3a8de0ebc7e0bd55fe /Makefile | |
parent | 376da7534b1065febfd878a40a14ba6d981ea35b (diff) | |
download | mpd-notification-389c123beb48dab2c8a179b86e4f697b6bbd6c4d.tar.gz mpd-notification-389c123beb48dab2c8a179b86e4f697b6bbd6c4d.tar.zst |
introduce config.h
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,7 @@ CC := gcc MD := markdown INSTALL := install +CP := cp RM := rm CFLAGS += -O2 -Wall -Werror CFLAGS += $(shell pkg-config --cflags --libs libmpdclient) \ @@ -11,10 +12,13 @@ VERSION = $(shell git describe --tags --long) all: mpd-notification README.html -mpd-notification: mpd-notification.c +mpd-notification: mpd-notification.c config.h $(CC) $(CFLAGS) -o mpd-notification mpd-notification.c \ -DVERSION="\"$(VERSION)\"" +config.h: + $(CP) config.def.h config.h + README.html: README.md $(MD) README.md > README.html |