break compilation on warnings as well
This commit is contained in:
2
Makefile
2
Makefile
@@ -18,7 +18,7 @@ TEST_OBJECTS := $(patsubst %.cpp, %.o, $(TEST_SOURCES))
|
||||
TEST_TARGETS := $(patsubst %.cpp, %.test, $(TEST_SOURCES))
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS := -Wall -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
|
||||
CFLAGS := -Werror -Wall -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
|
||||
LFLAGS :=
|
||||
else
|
||||
CFLAGS := -fPIC
|
||||
|
||||
Reference in New Issue
Block a user