commit d4c5a6f75ea3a06a0c5f819dd8ccfdec689128cd
parent 402fe5007adf3a0ba0e9dcd77a36e648d0070900
Author: bsandro <[email protected]>
Date: Thu, 16 Dec 2021 10:48:03 +0200
Day 15, enabled -O2 compiler optimizations
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/day15/Makefile b/day15/Makefile
@@ -2,7 +2,7 @@ NAME=$(shell basename ${PWD})
SRC=$(wildcard *.c ../common/*.c)
DEPS:=$(wildcard *.h ../common/*.h)
OBJ:=$(SRC:.c=.o)
-CFLAGS=-O0 -g -std=c99 -Werror -Wall -Wextra -I. -I../common
+CFLAGS=-O2 -std=c99 -Werror -Wall -Wextra -I. -I../common
LDFLAGS=-lc
all: $(NAME)