aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-05-01 18:07:53 -0400
committerShav Kinderlehrer <[email protected]>2023-05-01 18:07:53 -0400
commit1c90bf55b1874a2dec07eb6f2cacd623700859bd (patch)
treeb9dc3a65d016d62f61198056d10c8f1ec26edac1 /Makefile
parent36af47eab84fb9ec1f60331fbd0d8c7a85698954 (diff)
downloadlat-1c90bf55b1874a2dec07eb6f2cacd623700859bd.tar.gz
lat-1c90bf55b1874a2dec07eb6f2cacd623700859bd.zip
Fix memory leak and NULL-check error
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 149c2ac..eaa3393 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,11 @@ ODIR:=obj
BINDIR:=build
CC:=cc
-CFLAGS:=-I$(IDIR) -Wall -Wextra -pedantic -Ofast
+# OMG SO FAST (see https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html)
+# CFLAGS:=-I$(IDIR) -Wall -Wextra -pedantic -Ofast -faggressive-loop-optimizations -funroll-all-loops -march=native
+# For a stable experience
+CFLAGS:=-I$(IDIR) -Wall -Wextra -pedantic -O2 -march=native
+
LIB:=
DEPS:=$($(IDIR)/%.h)