From d28cd15ecccea5e123905de524858dea18008ba4 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 11 Nov 2024 18:16:20 +0100 Subject: aoc 2015, day01 --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 494ced4..d88478f 100644 --- a/makefile +++ b/makefile @@ -1,12 +1,17 @@ include config.mk -all: $(patsubst 2020/src/%.cpp,2020/bin/%,$(wildcard 2020/src/*.cpp)) \ +all: $(patsubst 2015/src/%.cpp,2015/bin/%,$(wildcard 2015/src/*.cpp)) \ + $(patsubst 2020/src/%.cpp,2020/bin/%,$(wildcard 2020/src/*.cpp)) \ $(patsubst 2022/src/%.cpp,2022/bin/%,$(wildcard 2022/src/*.cpp)) \ $(patsubst 2023/src/%.cpp,2023/bin/%,$(wildcard 2023/src/*.cpp)) %/bin: mkdir -p $@ +# 2015 +2015/bin/%: 2015/src/%.cpp | 2015/bin + c++ $(CPPFLAGS) $^ -o $@ + # 2020 2020/bin/%: 2020/src/%.cpp | 2020/bin c++ $(CPPFLAGS) $^ -o $@ -- cgit v1.3