Advent of Code

Diff
Login

Diff

Differences From Artifact [6cd6104734]:

To Artifact [1941c5f730]:


1
2
3
4
5
6
7
8
all: aocdbg aoc

clean:
	rm aocdbg aoc

aocdbg: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-Werror -Wall -Wextra \
|







1
2
3
4
5
6
7
8
all: aocdbg aoc aocclang

clean:
	rm aocdbg aoc

aocdbg: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-Werror -Wall -Wextra \
39
40
41
42
43
44
45










aoc: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-flto -fno-omit-frame-pointer -ffloat-store -fno-common -fstrict-aliasing \
	-O3 -DNDEBUG \
	*.c \
	-o aoc
















>
>
>
>
>
>
>
>
>
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

aoc: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-flto -fno-omit-frame-pointer -ffloat-store -fno-common -fstrict-aliasing \
	-O3 -DNDEBUG \
	*.c \
	-o aoc

aocclang: *.c *.h
	clang -std=c99 -pedantic \
	-Weverything \
	-Wno-declaration-after-statement \
	-Wno-implicit-int-conversion \
	-Wno-shorten-64-to-32 \
	*.c \
	-o aocclang