advent2021

Advent of Code 2021 Solutions
git clone git://bsandro.tech/advent2021
Log | Files | Refs

commit fd8cec718bf19a09d933ecf8a1af36679f967fb1
parent f8010e86532cb3acfd44ca8aabe39d7eac411907
Author: bsandro <brian.drosan@gmail.com>
Date:   Sat, 25 Dec 2021 15:45:54 +0200

Day 25 compiler optimizations

Diffstat:
Mday25/Makefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/day25/Makefile b/day25/Makefile @@ -2,10 +2,10 @@ NAME=$(shell basename ${PWD}) SRC=$(wildcard *.c ../common/*.c) DEPS:=$(wildcard *.h ../common/*.h) OBJ:=$(SRC:.c=.o) -CFLAGS=-O0 -g -fsanitize=address -fno-omit-frame-pointer -std=c99 -Werror -Wall -Wextra -I. -I../common +#CFLAGS=-O0 -g -fsanitize=address -fno-omit-frame-pointer -std=c99 -Werror -Wall -Wextra -I. -I../common LDFLAGS=-g -lc -lm -fsanitize=address -#CFLAGS=-O0 -g -std=c99 -Werror -Wall -Wextra -I. -I../common -#LDFLAGS=-lc -lm +CFLAGS=-O2 -std=c99 -Werror -Wall -Wextra -I. -I../common +LDFLAGS=-lc -lm all: $(NAME)