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
This commit is contained in:
Mathieu 2016-10-11 23:54:51 +02:00
parent d212b6089d
commit 5f29edd6cc

View File

@ -1,4 +1,4 @@
CXXFLAGS ?= -Werr -Wall CPPFLAGS ?= -Werror -Wall
program = test program = test
sources = $(wildcard *.c) sources = $(wildcard *.c)