From 5f1cec7004dc0e4ef58662358d48635462362422 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 2 Dec 2021 09:22:59 +0100 Subject: Compress solutions into 1 file --- 2015/15/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 2015/15/Makefile (limited to '2015/15/Makefile') diff --git a/2015/15/Makefile b/2015/15/Makefile new file mode 100644 index 0000000..8ada60c --- /dev/null +++ b/2015/15/Makefile @@ -0,0 +1,8 @@ +all: + m4 -D GROUPS=5 puzzles.py | sed '/# START PART 2/,/# END PART 2/d' >puzzle-1.py + m4 -D GROUPS=6 puzzles.py | sed '/# START PART 1/,/# END PART 1/d' >puzzle-2.py + chmod +x puzzle-[12].py + +.PHONY: clean +clean: + rm -f puzzle-[12].py -- cgit v1.2.3