aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index 494ced4..d88478f 100644
--- a/makefile
+++ b/makefile
@@ -1,12 +1,17 @@
1include config.mk 1include config.mk
2 2
3all: $(patsubst 2020/src/%.cpp,2020/bin/%,$(wildcard 2020/src/*.cpp)) \ 3all: $(patsubst 2015/src/%.cpp,2015/bin/%,$(wildcard 2015/src/*.cpp)) \
4 $(patsubst 2020/src/%.cpp,2020/bin/%,$(wildcard 2020/src/*.cpp)) \
4 $(patsubst 2022/src/%.cpp,2022/bin/%,$(wildcard 2022/src/*.cpp)) \ 5 $(patsubst 2022/src/%.cpp,2022/bin/%,$(wildcard 2022/src/*.cpp)) \
5 $(patsubst 2023/src/%.cpp,2023/bin/%,$(wildcard 2023/src/*.cpp)) 6 $(patsubst 2023/src/%.cpp,2023/bin/%,$(wildcard 2023/src/*.cpp))
6 7
7%/bin: 8%/bin:
8 mkdir -p $@ 9 mkdir -p $@
9 10
11# 2015
122015/bin/%: 2015/src/%.cpp | 2015/bin
13 c++ $(CPPFLAGS) $^ -o $@
14
10# 2020 15# 2020
112020/bin/%: 2020/src/%.cpp | 2020/bin 162020/bin/%: 2020/src/%.cpp | 2020/bin
12 c++ $(CPPFLAGS) $^ -o $@ 17 c++ $(CPPFLAGS) $^ -o $@