summaryrefslogtreecommitdiff
path: root/a2/Makefile
blob: ae0cbeb50475e26227712b34d0fa7201c0fb05cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
all: measurement-O0 measurement-O1 measurement-O2 measurement-O3

measurement-O0: measurement.cc Makefile
	g++ -O0 -Wall -Werror -Wextra -Wconversion -std=c++20 measurement.cc -o measurement-O0

measurement-O1: measurement.cc Makefile
	g++ -O1 -Wall -Werror -Wextra -Wconversion -std=c++20 measurement.cc -o measurement-O1

measurement-O2: measurement.cc Makefile
	g++ -O2 -Wall -Werror -Wextra -Wconversion -std=c++20 measurement.cc -o measurement-O2

measurement-O3: measurement.cc Makefile
	g++ -O3 -Wall -Werror -Wextra -Wconversion -std=c++20 measurement.cc -o measurement-O3