aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:00:19 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:00:19 +0200
commit02e25d8d8404ae6303b151b64e83d47e41cb13dc (patch)
treeb21a7d6158fce6cbb06da83df8313a9b6f26c578
parent2423c58ba32ade5a2a1c6a05937ae1921e37e232 (diff)
downloadmpd-notification-02e25d8d8404ae6303b151b64e83d47e41cb13dc.tar.gz
mpd-notification-02e25d8d8404ae6303b151b64e83d47e41cb13dc.tar.zst
add -O2, -Wall and -Werror to CFLAGS
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e578e8b..4b859b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# mpd-notification - Notify about tracks played by mpd
CC := gcc
+CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libmpdclient) \
$(shell pkg-config --cflags --libs libnotify)
VERSION = $(shell git describe --tags --long)