From 1c90bf55b1874a2dec07eb6f2cacd623700859bd Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Mon, 1 May 2023 18:07:53 -0400 Subject: Fix memory leak and NULL-check error --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3