diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-19 07:05:02 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-19 07:05:02 +0100 |
| commit | 509f58966da1c4da1b532fc5a2e271eeae7afd10 (patch) | |
| tree | ca6ded35e66f55a04aabebe9c84ce69612e0c089 /2024 | |
| parent | 2882d009b115657afad463fadaa103ea54a920d8 (diff) | |
| download | aoc-509f58966da1c4da1b532fc5a2e271eeae7afd10.tar.gz aoc-509f58966da1c4da1b532fc5a2e271eeae7afd10.zip | |
Removem vim temp file; simplified template
Diffstat (limited to '2024')
| -rw-r--r-- | 2024/19/.day19b.cpp.swp | bin | 12288 -> 0 bytes | |||
| -rw-r--r-- | 2024/template.make | 17 |
2 files changed, 2 insertions, 15 deletions
diff --git a/2024/19/.day19b.cpp.swp b/2024/19/.day19b.cpp.swp deleted file mode 100644 index c95c362..0000000 --- a/2024/19/.day19b.cpp.swp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/2024/template.make b/2024/template.make index 4499650..b1eeb1a 100644 --- a/2024/template.make +++ b/2024/template.make | |||
| @@ -2,23 +2,10 @@ CC=g++ -std=c++20 -g -Wall | |||
| 2 | 2 | ||
| 3 | a: | 3 | a: |
| 4 | ${CC} -o a.out dayDAYa.cpp | 4 | ${CC} -o a.out dayDAYa.cpp |
| 5 | ./a.out | ||
| 5 | 6 | ||
| 6 | b: | 7 | b: |
| 7 | ${CC} -o b.out dayDAYb.cpp | 8 | ${CC} -o b.out dayDAYb.cpp |
| 8 | |||
| 9 | clean: | ||
| 10 | rm -f a b | ||
| 11 | |||
| 12 | atest: a | ||
| 13 | ./a.out | ||
| 14 | |||
| 15 | btest: b | ||
| 16 | ./b.out | 9 | ./b.out |
| 17 | 10 | ||
| 18 | arun: a | 11 | .PHONY: a b |
| 19 | ./a.out < input | ||
| 20 | |||
| 21 | brun: b | ||
| 22 | ./b.out < input | ||
| 23 | |||
| 24 | .PHONY: a b clean atest btest arun brun | ||
