aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:02:30 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:02:30 +0200
commitdcadfb65e1bfa0bd5c723be500154940ea8c2301 (patch)
tree9b64085208ec3ec6dc319725240a872139d76874
parent5f0e17501c9e9e59fed24296e5870fb9fa05e6d7 (diff)
downloadmpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.gz
mpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.zst
move compiler options to CFLAGS
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9502e74..3ac2764 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
# mpd-notification - Notify about tracks played by mpd
-CC := gcc -std=c11
+CC := gcc
MD := markdown
INSTALL := install
CP := cp
RM := rm
-CFLAGS += -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libmpdclient)
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
# this is just a fallback in case you do not use git but downloaded