summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:11:05 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-04 22:11:05 +0200
commitc65257f961a75d8738ffb114163a1992061fb6a6 (patch)
tree39a6fb65ddcb2ef1bc7cfe373ad3d8d096b41740 /Makefile
parente56ed2ffea0245eee3c08edd97d5e560a964c78d (diff)
downloadnthash-c65257f961a75d8738ffb114163a1992061fb6a6.tar.gz
nthash-c65257f961a75d8738ffb114163a1992061fb6a6.tar.zst
add -O2, -Wall and -Werror to CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c11863..6cd8d1e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# nthash - Generate NT Hash
CC := gcc
+CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs nettle)
VERSION = $(shell git describe --tags --long)