diff --git a/Makefile b/Makefile index b1062cd1..d80c6cba 100644 --- a/Makefile +++ b/Makefile @@ -48,11 +48,12 @@ ifeq ($(WARNINGS), 1) endif ifeq ($(ALL_WARNINGS), 1) - ifneq ($(findstring clang,$(CXX),)) + ifneq ($(findstring clang,$(CXX)),) # Use clang-specific flag -Weverything CXXFLAGS += -Weverything else - @echo Couldn\'t activate all warnings (Unsupported compiler) + # This is indented with spaces because otherwise it doesn't compile (make doesn't like tabs there for some reason) + $(warning Couldn\'t activate all warnings (Unsupported compiler)) endif endif