summaryrefslogtreecommitdiffstats
path: root/day01/Makefile
diff options
context:
space:
mode:
authorOrfeas <38209077+0xfea5@users.noreply.github.com>2025-08-27 04:18:43 +0300
committerOrfeas <38209077+0xfea5@users.noreply.github.com>2025-09-01 04:51:37 +0300
commite0879b1fc2608befa6eee4dd8c2a82ade94e94ce (patch)
tree5de27d72fa3131477b0b08815a8b663b47f022b4 /day01/Makefile
parentAdd ‘skel/‘ as template directory for each day (diff)
downloadaoc24-e0879b1fc2608befa6eee4dd8c2a82ade94e94ce.tar.gz
aoc24-e0879b1fc2608befa6eee4dd8c2a82ade94e94ce.zip
day01/: rewrite solution to be in line with the template
Diffstat (limited to 'day01/Makefile')
-rw-r--r--day01/Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/day01/Makefile b/day01/Makefile
index c1bc66d..2fa98c0 100644
--- a/day01/Makefile
+++ b/day01/Makefile
@@ -1,13 +1 @@
1CXX := g++ include ../aoc.mk
2CXX_FLAGS := -std=c++23
3SOLUTION := solution.cpp
4INPUT := input.txt
5TARGET := solution.out
6
7all: compile run
8
9compile:
10 ${CXX} ${CXX_FLAGS} ${SOLUTION} -o ${TARGET}
11
12run: compile
13 ./${TARGET} < ${INPUT}