Advent of Code

Check-in [dcd83ba657]
Login

Check-in [dcd83ba657]

Overview
Comment:added clang
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: dcd83ba657929b3031b5fd4c84a8b5845684923b1b5e52358254836265f7aa0f
User & Date: nnz on 2024-12-04 09:41:25
Other Links: manifest | tags
Context
2024-12-04
09:46
added tcc check-in: 999b1250b6 user: nnz tags: trunk
09:41
added clang check-in: dcd83ba657 user: nnz tags: trunk
09:41
added include check-in: c0e1ec62fb user: nnz tags: trunk
Changes

Modified Makefile from [6cd6104734] to [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