diff options
Diffstat (limited to 'day01/Makefile')
| -rw-r--r-- | day01/Makefile | 14 |
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 @@ | |||
| 1 | CXX := g++ | include ../aoc.mk | |
| 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} | ||
