diff options
| author | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-08-24 02:02:12 +0300 |
|---|---|---|
| committer | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-09-01 04:51:34 +0300 |
| commit | 48a61ce53f605683f40dedf561c92d0b7db03062 (patch) | |
| tree | 2bff3ba5cc70ccc16e1e2349854218810ea70ba2 /day01/Makefile | |
| parent | Add day initialization script (diff) | |
| download | aoc24-48a61ce53f605683f40dedf561c92d0b7db03062.tar.gz aoc24-48a61ce53f605683f40dedf561c92d0b7db03062.zip | |
day01: done
Diffstat (limited to 'day01/Makefile')
| -rw-r--r-- | day01/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/day01/Makefile b/day01/Makefile new file mode 100644 index 0000000..c1bc66d --- /dev/null +++ b/day01/Makefile | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | CXX := g++ | ||
| 2 | CXX_FLAGS := -std=c++23 | ||
| 3 | SOLUTION := solution.cpp | ||
| 4 | INPUT := input.txt | ||
| 5 | TARGET := solution.out | ||
| 6 | |||
| 7 | all: compile run | ||
| 8 | |||
| 9 | compile: | ||
| 10 | ${CXX} ${CXX_FLAGS} ${SOLUTION} -o ${TARGET} | ||
| 11 | |||
| 12 | run: compile | ||
| 13 | ./${TARGET} < ${INPUT} | ||
