commit 1008efb8a6b0cfa06c7b31e0efab52b789d12f5e
parent 1e4ebeb8fbb964a04c821e3e73784f3e28a2b449
Author: Paco Esteban <paco@e1e0.net>
Date: Thu, 11 Feb 2021 17:06:16 +0100
add compiler warnings
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,8 +4,7 @@ SRCS += ssnail.c helpers.c error.c
LDFLAGS += -L/usr/local/lib
LDADD += -llowdown -lm
+CFLAGS += -Wall -Wextra -Werror -std=c11 -pedantic
CFLAGS += -I/usr/local/include -I${.CURDIR}
-DEBUG = -g -O2
-
.include <bsd.prog.mk>