summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-12 23:40:59 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-12 23:40:59 -0500
commitb4f16386c70bfeab700e7cc129f2f04295aa0059 (patch)
tree8211e50bdf4f22eed2d2f2a19166e3a6f4ae5155 /config.mk
parent0ef3e40f726f35b86d79426104234d815cea2bb9 (diff)
vecteur est fomrmes sont finis
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..adcbe37
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,11 @@
+
+SHELL = /bin/bash
+
+# c++ compiler flags that are used for all targets:
+# they make binaries faster and smaller
+# -s : strips the binary
+# -O3 : optimizes the binary
+# -Ofast : optimizes the binary
+# -march=native : optimizes the binary for the current CPU
+# -flto : link time optimization
+CFLAGS = -Ofast -march=native -flto -s