summaryrefslogtreecommitdiff
path: root/a2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'a2/Makefile')
-rw-r--r--a2/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/a2/Makefile b/a2/Makefile
new file mode 100644
index 0000000..74f52b2
--- /dev/null
+++ b/a2/Makefile
@@ -0,0 +1,15 @@
+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