summaryrefslogtreecommitdiff
path: root/2023/19/Makefile
diff options
context:
space:
mode:
authorFederico Igne <undyamon@disroot.org>2023-12-20 00:54:49 +0100
committerFederico Igne <undyamon@disroot.org>2023-12-20 00:54:49 +0100
commit95afbe5174be402b681cd98ea83cc063cd23f5c0 (patch)
treefe7790f346e99e4e661723b568ff2be3ba6f8891 /2023/19/Makefile
parente3c9f0c73077de51167491ca1ba4d5ccba005435 (diff)
downloadaoc-95afbe5174be402b681cd98ea83cc063cd23f5c0.tar.gz
aoc-95afbe5174be402b681cd98ea83cc063cd23f5c0.zip
aoc(2319): AplentyHEADmaster
Diffstat (limited to '2023/19/Makefile')
-rw-r--r--2023/19/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/2023/19/Makefile b/2023/19/Makefile
new file mode 100644
index 0000000..af6a294
--- /dev/null
+++ b/2023/19/Makefile
@@ -0,0 +1,19 @@
1CXXFLAGS := -std=c++17
2CPPFLAGS := -I../include
3EXE := part1 part2
4
5.PHONY: all clean configure
6
7all: $(EXE)
8
9configure:
10 bear -- $(MAKE) all
11
12%.o: %.cpp
13 $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
14
15clean:
16 rm -rf $(EXE) src/*.o compile_commands.json
17
18%: src/%.o
19 $(CXX) $^ -o $@