-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
19 lines (18 loc) · 887 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
####################################################################
#
# Makefile for CMPT 135 Spring 2021, SFU Surrey.
#
#####################################################################
# Set the C++ compiler options:
# -std=c++17 compiles using the C++17 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++17 -Wall -Wextra -Werror -Wfatal-errors -Wno-sign-compare -Wnon-virtual-dtor -g