aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2023-12-05 22:03:30 +0100
committerThomas Schmucker <ts@its1.de>2023-12-05 22:03:30 +0100
commit65dfb9cf7d95ccd5a608bc85065c8af2650c1641 (patch)
tree66fa9dbfd62f3cd17e7aff89b0a9d2134c5a643a /makefile
parentb66a424a290f188c43a7cec061a70d2c3f6ec7d2 (diff)
downloadadvent-of-code-65dfb9cf7d95ccd5a608bc85065c8af2650c1641.tar.gz
advent-of-code-65dfb9cf7d95ccd5a608bc85065c8af2650c1641.tar.bz2
advent-of-code-65dfb9cf7d95ccd5a608bc85065c8af2650c1641.zip
tidy up build system
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 1fda65a..a9b0da4 100644
--- a/makefile
+++ b/makefile
@@ -6,13 +6,13 @@ all: bin/day01 \
6 bin/day04 \ 6 bin/day04 \
7 bin/day05 7 bin/day05
8 8
9bin:
10 mkdir $@
11
9bin/%: src/%.cpp | bin 12bin/%: src/%.cpp | bin
10 c++ $(CPPFLAGS) $^ -o $@ 13 c++ $(CPPFLAGS) $^ -o $@
11 14
12clean: 15clean:
13 rm -rf bin 16 rm -rf bin
14 17
15bin:
16 mkdir $@
17
18.PHONY: all clean 18.PHONY: all clean