diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-01 09:40:19 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-01 09:40:19 +0100 |
| commit | 0aefd410a18acf826af5187cdb038fd9b4f25fc5 (patch) | |
| tree | f24d69d83567079412924bf6ce06e058673171b7 /2024/template.make | |
| parent | 6c5fe99d41a3d63975deb08911ebb0e162684a43 (diff) | |
| download | aoc-0aefd410a18acf826af5187cdb038fd9b4f25fc5.tar.gz aoc-0aefd410a18acf826af5187cdb038fd9b4f25fc5.zip | |
Started 2024 + day 1
Diffstat (limited to '2024/template.make')
| -rw-r--r-- | 2024/template.make | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2024/template.make b/2024/template.make new file mode 100644 index 0000000..4499650 --- /dev/null +++ b/2024/template.make | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | CC=g++ -std=c++20 -g -Wall | ||
| 2 | |||
| 3 | a: | ||
| 4 | ${CC} -o a.out dayDAYa.cpp | ||
| 5 | |||
| 6 | b: | ||
| 7 | ${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 | ||
| 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 | ||
