diff --git a/cpp/Makefile b/cpp/Makefile index 1adf6ce..a113467 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -4,7 +4,7 @@ RM = rm SOURCES = $(wildcard src/*.cpp) OBJECTS = $(patsubst %.cpp,%.o,$(notdir $(SOURCES))) -CXXFLAGS = --std=c++11 +CXXFLAGS = -std=c++11 -pedantic EXE = example EXE_EXT = out @@ -15,7 +15,7 @@ EXE_EXT = out release: CXXFLAGS += -O3 release: compilation -debug: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g +debug: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -g debug: CXXFLAGS += -Wold-style-cast -Wsign-conversion debug: compilation