Advent of Code

Diff
Login

Diff

Differences From Artifact [1941c5f730]:

To Artifact [e5558dd887]:


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

clean:
	rm aocdbg aoc

aocdbg: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-Werror -Wall -Wextra \
	-Wc99-c11-compat \
	-Wc11-c2x-compat \
	-Wbad-function-cast \
|


|







1
2
3
4
5
6
7
8
9
10
11
all: aocdbg aoc aocclang aoctcc

clean:
	rm aocdbg aoc aocclang aoctcc

aocdbg: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-Werror -Wall -Wextra \
	-Wc99-c11-compat \
	-Wc11-c2x-compat \
	-Wbad-function-cast \
48
49
50
51
52
53
54






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













>
>
>
>
>
>
48
49
50
51
52
53
54
55
56
57
58
59
60
	clang -std=c99 -pedantic \
	-Weverything \
	-Wno-declaration-after-statement \
	-Wno-implicit-int-conversion \
	-Wno-shorten-64-to-32 \
	*.c \
	-o aocclang

aoctcc: *.c *.h
	tcc -std=c99 -pedantic \
	-Wall \
	*.c \
	-o aoctcc