summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ae50c5..8d0314b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# udev-block-notify - Notify about udev block events
CC := gcc
+CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libudev) \
$(shell pkg-config --cflags --libs libnotify)
VERSION = $(shell git describe --tags --long)