From c9e583ef5d89918d52ab3447e26a75c29003f30b Mon Sep 17 00:00:00 2001 From: Orfeas <38209077+0xfea5@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:45:39 +0300 Subject: aoc.mk: use g++15 and C++26 --- aoc.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aoc.mk') diff --git a/aoc.mk b/aoc.mk index c7b7c87..2009ca1 100644 --- a/aoc.mk +++ b/aoc.mk @@ -1,5 +1,5 @@ -CXX = g++ -CXX_FLAGS = -std=c++23 +CXX = g++-15 +CXX_FLAGS = -std=c++26 SOLUTION = solution.cpp INPUT = input.txt TARGET = ./solution @@ -20,7 +20,7 @@ force: tests: ${TESTS} tests/test%.input: tests/test%.output compile force - @diff <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ + @diff --color=always <(timeout ${TIMEOUT} ${TARGET} < $@) <(cat $<) > /tmp/aoc.output \ && echo -e "$@ [\e[0;32mok\e[m]" \ || echo -e "$@ [\e[0;31mfail\e[m]" @cat /tmp/aoc.output -- cgit v1.2.3