diff options
| author | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-08-30 12:45:39 +0300 |
|---|---|---|
| committer | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-09-01 04:51:37 +0300 |
| commit | c9e583ef5d89918d52ab3447e26a75c29003f30b (patch) | |
| tree | cb3db273ef44a7e5edc30f99fba6a657b8e2e47b | |
| parent | day02: done (diff) | |
| download | aoc24-c9e583ef5d89918d52ab3447e26a75c29003f30b.tar.gz aoc24-c9e583ef5d89918d52ab3447e26a75c29003f30b.zip | |
aoc.mk: use g++15 and C++26
| -rw-r--r-- | aoc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | CXX = g++ | 1 | CXX = g++-15 |
| 2 | CXX_FLAGS = -std=c++23 | 2 | CXX_FLAGS = -std=c++26 |
| 3 | SOLUTION = solution.cpp | 3 | SOLUTION = solution.cpp |
| 4 | INPUT = input.txt | 4 | INPUT = input.txt |
| 5 | TARGET = ./solution | 5 | TARGET = ./solution |
| @@ -20,7 +20,7 @@ force: | |||
| 20 | tests: ${TESTS} | 20 | tests: ${TESTS} |
| 21 | 21 | ||
| 22 | tests/test%.input: tests/test%.output compile force | 22 | tests/test%.input: tests/test%.output compile force |
| 23 | @diff <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ | 23 | @diff --color=always <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ |
| 24 | && echo -e "$@ [\e[0;32mok\e[m]" \ | 24 | && echo -e "$@ [\e[0;32mok\e[m]" \ |
| 25 | || echo -e "$@ [\e[0;31mfail\e[m]" | 25 | || echo -e "$@ [\e[0;31mfail\e[m]" |
| 26 | @cat /tmp/aoc.output | 26 | @cat /tmp/aoc.output |
