Advent of Code

Check-in [38646cdd7a]
Login

Check-in [38646cdd7a]

Overview
Comment:_XOPEN_SOURCE removed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 38646cdd7a5c80c45c081849c373babb828ecb0b6862ac990d24e4c439fb7654
User & Date: nnz on 2024-12-04 09:30:32
Other Links: manifest | tags
Context
2024-12-04
09:41
added include check-in: c0e1ec62fb user: nnz tags: trunk
09:30
_XOPEN_SOURCE removed check-in: 38646cdd7a user: nnz tags: trunk
09:27
use unsigned check-in: fe9956e07d user: nnz tags: trunk
Changes

Modified Makefile from [c839dd71d7] to [6cd6104734].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: aocdbg aoc

clean:
	rm aocdbg aoc

aocdbg: *.c *.h
	gcc -std=c99 -pedantic -pedantic-errors \
	-D_XOPEN_SOURCE=800 \
	-Werror -Wall -Wextra \
	-Wc99-c11-compat \
	-Wc11-c2x-compat \
	-Wbad-function-cast \
	-Wcast-align \
	-Wcast-qual \
	-Wfloat-equal \







<







1
2
3
4
5
6
7

8
9
10
11
12
13
14
all: aocdbg aoc

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 \
	-Wcast-align \
	-Wcast-qual \
	-Wfloat-equal \
36
37
38
39
40
41
42
43
44
45
46
47
	-fno-omit-frame-pointer -ffloat-store -fno-common -fstrict-aliasing \
	-Og -ggdb3 \
	*.c \
	-o aocdbg

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







<




35
36
37
38
39
40
41

42
43
44
45
	-fno-omit-frame-pointer -ffloat-store -fno-common -fstrict-aliasing \
	-Og -ggdb3 \
	*.c \
	-o aocdbg

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