-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
168 lines (121 loc) · 2.8 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
CC = gcc
CFLAGS = -O3 -pedantic -std=c99 -Wall -Wextra
LIBM = -lm
TWOS_COMPLEMENT = -fno-strict-overflow -fwrapv
all: \
day01a day01b \
day02a day02b \
day03a day03b \
day04a day04b \
day05a day05b \
day06a day06b \
day07a day07b \
day08a day08b \
day09a day09b \
day10a \
day11a day11b \
day12a day12b \
day13a day13b \
day14a day14b \
day15a day15b \
day16a day16b \
day17a day17b \
day18a day18b \
day19a day19b \
day20a day20b \
day21a \
day22a day22b \
day24a day24b \
day25z
day01a: src/day01a.c
$(CC) $(CFLAGS) $< -o [email protected]
day01b: src/day01b.c
$(CC) $(CFLAGS) $< -o [email protected]
day02a: src/day02a.c
$(CC) $(CFLAGS) $< -o [email protected]
day02b: src/day02b.c
$(CC) $(CFLAGS) $< -o [email protected]
day03a: src/day03a.c
$(CC) $(CFLAGS) $< -o [email protected]
day03b: src/day03b.c
$(CC) $(CFLAGS) $< -o [email protected]
day04a: src/day04a.c
$(CC) $(CFLAGS) $< -o [email protected]
day04b: src/day04b.c
$(CC) $(CFLAGS) $< -o [email protected]
day05a: src/day05a.c
$(CC) $(CFLAGS) $< -o [email protected]
day05b: src/day05b.c
$(CC) $(CFLAGS) $(TWOS_COMPLEMENT) $< -o [email protected]
day06a: src/day06a.c
$(CC) $(CFLAGS) $< -o [email protected] $(LIBM)
day06b: src/day06b.c
$(CC) $(CFLAGS) $< -o [email protected] $(LIBM)
day07a: src/day07a.c
$(CC) $(CFLAGS) $< -o [email protected]
day07b: src/day07b.c
$(CC) $(CFLAGS) $< -o [email protected]
day08a: src/day08a.c
$(CC) $(CFLAGS) $< -o [email protected]
day08b: src/day08b.c
$(CC) $(CFLAGS) $< -o [email protected]
day09a: src/day09a.c
$(CC) $(CFLAGS) $< -o [email protected] $(LIBM)
day09b: src/day09b.c
$(CC) $(CFLAGS) $< -o [email protected] $(LIBM)
day10a: src/day10a.c
$(CC) $(CFLAGS) $< -o [email protected]
day11a: src/day11a.c
$(CC) $(CFLAGS) $< -o [email protected]
day11b: src/day11b.c
$(CC) $(CFLAGS) $< -o [email protected]
day12a: src/day12a.c
$(CC) $(CFLAGS) $< -o [email protected]
day12b: src/day12b.c
$(CC) $(CFLAGS) $< -o [email protected]
day13a: src/day13a.c
$(CC) $(CFLAGS) $< -o [email protected]
day13b: src/day13b.c
$(CC) $(CFLAGS) $< -o [email protected]
day14a: src/day14a.c
$(CC) $(CFLAGS) $< -o [email protected]
day14b: src/day14b.c
$(CC) $(CFLAGS) $< -o [email protected]
day15a: src/day15a.c
$(CC) $(CFLAGS) $< -o [email protected]
day15b: src/day15b.c
$(CC) $(CFLAGS) $< -o [email protected]
day16a: src/day16a.c
$(CC) $(CFLAGS) $< -o [email protected]
day16b: src/day16b.c
$(CC) $(CFLAGS) $< -o [email protected]
day17a: src/day17a.c
$(CC) $(CFLAGS) $< -o [email protected]
day17b: src/day17b.c
$(CC) $(CFLAGS) $< -o [email protected]
day18a: src/day18a.c
$(CC) $(CFLAGS) $< -o [email protected]
day18b: src/day18b.c
$(CC) $(CFLAGS) $< -o [email protected]
day19a: src/day19a.c
$(CC) $(CFLAGS) $< -o [email protected]
day19b: src/day19b.c
$(CC) $(CFLAGS) $< -o [email protected]
day20a: src/day20a.c
$(CC) $(CFLAGS) $< -o [email protected]
day20b: src/day20b.c
$(CC) $(CFLAGS) $< -o [email protected]
day21a: src/day21a.c
$(CC) $(CFLAGS) $< -o [email protected]
day22a: src/day22a.c
$(CC) $(CFLAGS) $< -o [email protected]
day22b: src/day22b.c
$(CC) $(CFLAGS) $< -o [email protected]
day24a: src/day24a.c
$(CC) $(CFLAGS) $< -o [email protected]
day24b: src/day24b.c
$(CC) $(CFLAGS) $< -o [email protected]
day25z: src/day25z.c
$(CC) $(CFLAGS) $< -o [email protected]
clean:
rm -rf *.o