diff options
Diffstat (limited to 'a2/Makefile')
-rw-r--r-- | a2/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/a2/Makefile b/a2/Makefile index 74f52b2..ae0cbeb 100644 --- a/a2/Makefile +++ b/a2/Makefile @@ -1,15 +1,13 @@ -all: measurement - -gcm.cache: Makefile - rm -Rf gcm.cache -# g++ -std=c++20 -fmodules-ts -x c++-system-header chrono -# g++ -std=c++20 -fmodules-ts -x c++-system-header vector -# g++ -std=c++20 -fmodules-ts -x c++-system-header iostream -# g++ -std=c++20 -fmodules-ts -x c++-system-header algorithm -# g++ -std=c++20 -fmodules-ts -x c++-system-header string -# g++ -std=c++20 -fmodules-ts -x c++-system-header thread - -measurement: measurement.cc Makefile -#gcm.cache -# g++ -Wall -Werror -Wextra -Wconversion -std=c++20 -fmodules-ts measurement.cc -o measurement - g++ -O2 -Wall -Werror -Wextra -Wconversion -std=c++20 measurement.cc -o measurement +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 |