#################################################################### # # Makefile for CMPT 135 Spring 2024, SFU Surrey. # # Assumes g++ version 9.4.0 or later. Check your version with: # # g++ --version # ... # gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) # ##################################################################### # Set the C++ compiler options: # -std=c++17 compile using the C++17 standard # -Wall turn on all warnings # -Wextra turn on even more warnings # -Werror cause warnings to be errors # -Wfatal-errors stop the compiler after the first error # -Wno-sign-compare turn off warnings for comparing signed and # unsigned numbers # -Wnon-virtual-dtor warn about non-virtual destructors # -g puts debugging info into the executables (makes them larger) CPPFLAGS = -std=c++17 -Wall -Wextra -Werror -Wfatal-errors -Wno-sign-compare -Wnon-virtual-dtor -g