diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-02 09:22:59 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-02 09:22:59 +0100 |
commit | 5f1cec7004dc0e4ef58662358d48635462362422 (patch) | |
tree | f3630a8ede0f83457151901bfbb7aaed7ad64133 /2015/15/Makefile | |
parent | 74e99d618a660ad452c31100cc3106879d04ac42 (diff) |
Compress solutions into 1 file
Diffstat (limited to '2015/15/Makefile')
-rw-r--r-- | 2015/15/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
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 |