Merge pull request #67 from GabrielRavier/fixMakefile
Actually properly fix the Makefile
This commit is contained in:
commit
9b55660c05
1 changed files with 3 additions and 2 deletions
5
Makefile
5
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue