aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:08:37 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:08:37 +0200
commit090cc6357193c723187dc1e567101852cd8a24de (patch)
tree866be9743d40f883092cd13b11a2c7411392d0b4 /Makefile
parent2743aed543a5d41d5fbe33e192e75047bdbb23d7 (diff)
downloadcqrlogo-090cc6357193c723187dc1e567101852cd8a24de.tar.gz
cqrlogo-090cc6357193c723187dc1e567101852cd8a24de.tar.zst
add -O2, -Wall and -Werror to CFLAGS, fix warnings in code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4c67769..4d910b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# cqrlogo - CGI QR-Code logo for web services
CC := gcc
+CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \
$(shell pkg-config --cflags --libs libqrencode)