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:
parent
d212b6089d
commit
5f29edd6cc
@ -1,4 +1,4 @@
|
||||
CXXFLAGS ?= -Werr -Wall
|
||||
CPPFLAGS ?= -Werror -Wall
|
||||
|
||||
program = test
|
||||
sources = $(wildcard *.c)
|
||||
|
Loading…
Reference in New Issue
Block a user