aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-10-21 14:02:30 +0200
committerChristian Hesse <mail@eworm.de>2014-10-21 14:02:30 +0200
commitdcadfb65e1bfa0bd5c723be500154940ea8c2301 (patch)
tree9b64085208ec3ec6dc319725240a872139d76874
parentuse ISO C11 standard (diff)
downloadmpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.gz
mpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.bz2
mpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.xz
mpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.tar.zst
mpd-notification-dcadfb65e1bfa0bd5c723be500154940ea8c2301.zip
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