From a2ee9cbadb02a470dfb0ad541e9dd4f494ac38f3 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Tue, 15 Jan 2019 16:09:32 +0100 Subject: [PATCH] Add CFLAGS for strict warning checks --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ad72e2d5..84716d0d 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ ifndef SCHEME $(error SCHEME variable is not set) endif +CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 + functest_kem: crypto_kem/test.c $(wildcard crypto_kem/$(SCHEME)/clean/*.c) $(wildcard crypto_kem/$(SCHEME)/clean/*.h) mkdir -p bin $(CC) $(CFLAGS)\