diff options
author | Federico Igne <undyamon@disroot.org> | 2023-12-13 16:23:51 +0100 |
---|---|---|
committer | Federico Igne <undyamon@disroot.org> | 2023-12-13 16:23:51 +0100 |
commit | a388690e255427aa28a2fd4364e094a10bde3382 (patch) | |
tree | 1d84a0262f1480cba28b504ff7cd7d2224eb7b38 /2023/13/Makefile | |
parent | ba6089f4eefcbd6c482d2f774b8ce016bd0a4441 (diff) | |
download | aoc-a388690e255427aa28a2fd4364e094a10bde3382.tar.gz aoc-a388690e255427aa28a2fd4364e094a10bde3382.zip |
aoc(2313): Point of Incidence
Diffstat (limited to '2023/13/Makefile')
-rw-r--r-- | 2023/13/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2023/13/Makefile b/2023/13/Makefile new file mode 100644 index 0000000..af6a294 --- /dev/null +++ b/2023/13/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | CXXFLAGS := -std=c++17 | ||
2 | CPPFLAGS := -I../include | ||
3 | EXE := part1 part2 | ||
4 | |||
5 | .PHONY: all clean configure | ||
6 | |||
7 | all: $(EXE) | ||
8 | |||
9 | configure: | ||
10 | bear -- $(MAKE) all | ||
11 | |||
12 | %.o: %.cpp | ||
13 | $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ | ||
14 | |||
15 | clean: | ||
16 | rm -rf $(EXE) src/*.o compile_commands.json | ||
17 | |||
18 | %: src/%.o | ||
19 | $(CXX) $^ -o $@ | ||