aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-14 19:44:47 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-14 19:44:47 +0200
commit4d56d7b74f75a918aaa6fa6ab051a3ef9896ffc6 (patch)
treeb67a5b78b7241ad4eb5630f30206b0cb525f4429
parentd67c82c72316a91792966e4c2ea905137d1dfebc (diff)
downloaddns-4d56d7b74f75a918aaa6fa6ab051a3ef9896ffc6.tar.gz
Makefile: warnings
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 668c305..f15ab85 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
CC = clang
-CFLAGS = -Wall -std=c89 -D_DEFAULT_SOURCE -Wvla
+CFLAGS = -Wall -std=c89 -D_DEFAULT_SOURCE -Wvla \
+ -Wdeclaration-after-statement -Wstrict-prototypes -Wpadded \
+ -Wunreachable-code -Wsign-compare -Wimplicit-int-conversion \
+ -Wsign-conversion
LDFLAGS = -lm
BUILDDIR = build
SOURCEDIR = src