From dafb3e27313470cd4cea664b24cd5dae6689d7d7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 6 Nov 2021 13:34:27 +0100 Subject: Add 2015 Day 20 solutions --- 2015/20/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 2015/20/Makefile (limited to '2015/20/Makefile') 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] -- cgit v1.2.3