summaryrefslogtreecommitdiff
path: root/a2/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-07-26 08:18:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-07-26 08:18:36 +0200
commitd4c7424fedc83079d0c460d65f7daa8308ff969c (patch)
treeae639dac407be02519dc1794b3e820ffd9e8e241 /a2/Makefile
parent5deeff26bd5309700aaf43ede0ed23217a0a5fd8 (diff)
A2: WIP
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