Merge pull request #67 from GabrielRavier/fixMakefile

Actually properly fix the Makefile
This commit is contained in:
Clownacy 2019-11-01 14:55:59 +00:00 committed by GitHub
commit 9b55660c05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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