#################################################################### # # Makefile for CMPT 225 Spring 2017, SFU Surrey. # ##################################################################### # Set the C++ compiler options: # -std=c++11 compiles using the C++11 standard (or at least as # much as is implemented by the compiler, e.g. for g++ see # http://gcc.gnu.org/projects/cxx0x.html) # -Wall turns on all warnings # -Wextra turns on even more warnings # -Werror causes warnings to be errors # -Wfatal-errors stops the compiler after the first error # -Wno-sign-compare turns off warnings for comparing signed and # unsigned numbers # -Wnon-virtual-dtor warns about non-virtual destructors # -g puts debugging info into the executables (makes them larger) CPPFLAGS = -std=c++14 -Wall -Wextra -Werror -Wfatal-errors -Wno-sign-compare -Wnon-virtual-dtor -g