diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-07 07:51:09 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-07 07:51:09 +0100 |
| commit | 79b905aea4bbe0c15c448f0af3f8cc733f763617 (patch) | |
| tree | 4cee2342949b7723328bb6fc2c2d079a2a9164cc /2024/07/Makefile | |
| parent | c2b969794f3e981d46852d7070cc64802be99e0d (diff) | |
| download | aoc-79b905aea4bbe0c15c448f0af3f8cc733f763617.tar.gz aoc-79b905aea4bbe0c15c448f0af3f8cc733f763617.zip | |
Day 7 2024
Diffstat (limited to '2024/07/Makefile')
| -rw-r--r-- | 2024/07/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2024/07/Makefile b/2024/07/Makefile new file mode 100644 index 0000000..63f62cd --- /dev/null +++ b/2024/07/Makefile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | CC=g++ -std=c++20 -g -Wall | ||
| 2 | |||
| 3 | a: | ||
| 4 | ${CC} -o a.out day07a.cpp | ||
| 5 | |||
| 6 | b: | ||
| 7 | ${CC} -o b.out day07b.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 | ||
