aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:05:49 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:05:49 +0200
commit5897566492e2b2fb89b5761a809e786bc520ef67 (patch)
treee69663790bd4219ee909739e40161395bcebde48
parent4708fa8f35f370e7da8befad594250f8317009c9 (diff)
downloadudev-block-notify-5897566492e2b2fb89b5761a809e786bc520ef67.tar.gz
udev-block-notify-5897566492e2b2fb89b5761a809e786bc520ef67.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 6c7049f..811b227 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
# udev-block-notify - Notify about udev block events
-CC := gcc -std=c11
+CC := gcc
MD := markdown
INSTALL := install
RM := rm
-CFLAGS += -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libudev)
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
# this is just a fallback in case you do not use git but downloaded