diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-10 06:13:42 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-10 06:13:42 +0100 |
| commit | 6cee2c54045d253dc14c808f1e4f25765a675a56 (patch) | |
| tree | e5a570a0edb5fc774eebbb4cad962c1a83c2b4cd /2024/10/Makefile | |
| parent | 9a1f073f8e33e8b0d6c97332f51161683cfc6e58 (diff) | |
| download | aoc-6cee2c54045d253dc14c808f1e4f25765a675a56.tar.gz aoc-6cee2c54045d253dc14c808f1e4f25765a675a56.zip | |
Day 10 2024
Diffstat (limited to '2024/10/Makefile')
| -rw-r--r-- | 2024/10/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2024/10/Makefile b/2024/10/Makefile new file mode 100644 index 0000000..0211441 --- /dev/null +++ b/2024/10/Makefile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | CC=g++ -std=c++20 -g -Wall | ||
| 2 | |||
| 3 | a: | ||
| 4 | ${CC} -o a.out day10a.cpp | ||
| 5 | |||
| 6 | b: | ||
| 7 | ${CC} -o b.out day10b.cpp | ||
| 8 | |||
| 9 | clean: | ||
| 10 | rm -f a b | ||
| 11 | |||
| 12 | atest: a | ||
| 13 | ./a.out | ||
| 14 | |||
| 15 | btest: b | ||
| 16 | ./b.out | ||
| 17 | |||
| 18 | arun: a | ||
| 19 | ./a.out < input | ||
| 20 | |||
| 21 | brun: b | ||
| 22 | ./b.out < input | ||
| 23 | |||
| 24 | .PHONY: a b clean atest btest arun brun | ||
