diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-11-06 13:34:27 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-11-06 13:34:27 +0100 |
commit | dafb3e27313470cd4cea664b24cd5dae6689d7d7 (patch) | |
tree | 17f8c76c450fb682ccaa97757c2e3ab32997befc /2015/20/Makefile | |
parent | f61b65581c30879a9bfa43ffafb99d4ba160cd32 (diff) |
Add 2015 Day 20 solutions
Diffstat (limited to '2015/20/Makefile')
-rw-r--r-- | 2015/20/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2015/20/Makefile b/2015/20/Makefile new file mode 100644 index 0000000..8d1d1fa --- /dev/null +++ b/2015/20/Makefile @@ -0,0 +1,12 @@ +all: + sed '/START PART 2/,/END PART 2/d' puzzles.go >tmp1.go + sed '/START PART 1/,/END PART 1/d' puzzles.go >tmp2.go + go build tmp1.go + go build tmp2.go + mv tmp1 puzzle-1 + mv tmp2 puzzle-2 + rm -f tmp[12].go + +.PHONY: clean +clean: + rm -f puzzle-[12] |