diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-17 08:39:11 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-17 08:39:11 +0100 |
| commit | a0e775b0a4805a7c1af12c1a956cd9fd74c54b2c (patch) | |
| tree | ddfc21c0d865d6f871e6ffa0722747ce62077ec0 /2024/17/Makefile | |
| parent | 5a725f1b9e8cfbad2c31d9c220061e413adbbf8e (diff) | |
| download | aoc-a0e775b0a4805a7c1af12c1a956cd9fd74c54b2c.tar.gz aoc-a0e775b0a4805a7c1af12c1a956cd9fd74c54b2c.zip | |
Day 17 2024 - this was fun
Diffstat (limited to '2024/17/Makefile')
| -rw-r--r-- | 2024/17/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2024/17/Makefile b/2024/17/Makefile new file mode 100644 index 0000000..68d9689 --- /dev/null +++ b/2024/17/Makefile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | CC=g++ -std=c++20 -g -Wall | ||
| 2 | |||
| 3 | a: | ||
| 4 | ${CC} -o a.out day17a.cpp | ||
| 5 | |||
| 6 | b: | ||
| 7 | ${CC} -o b.out day17b.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 | ||
