From 5f29edd6cc0d7283633ad7cdc9bb21b03f28cab6 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Tue, 11 Oct 2016 23:54:51 +0200 Subject: [PATCH] Correct Makefile flags Implicit C compilation use CPPFLAGS (https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html) The real flag for error checking is Werror --- Makefile/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile/Makefile b/Makefile/Makefile index a5a0bfc..da06de7 100644 --- a/Makefile/Makefile +++ b/Makefile/Makefile @@ -1,4 +1,4 @@ -CXXFLAGS ?= -Werr -Wall +CPPFLAGS ?= -Werror -Wall program = test sources = $(wildcard *.c)