From 161acf1731602ab76f57d9c1395832723ea5c29c Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Wed, 26 Jul 2017 11:31:23 +0200 Subject: [PATCH] make: enable pedantic C99 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2eb853..50a1d5f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,9 @@ all: $(BUILD)/tbm CFLAGS += -Iinclude CFLAGS += -Wall -Wundef -Wextra -Wshadow -Wimplicit-function-declaration -CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes +CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -pedantic + +CFLAGS += -std=c99 CFLAGS += -Os LDFLAGS += -Os