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
1 changed files with 1 additions and 1 deletions

View File

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