From 4d56d7b74f75a918aaa6fa6ab051a3ef9896ffc6 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 14 Jun 2021 19:44:47 +0200 Subject: Makefile: warnings --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3