diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-12-07 17:53:31 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-12-07 17:53:31 +0100 |
commit | 4ab8876daa573ae49be0dda0507d18446cda8dba (patch) | |
tree | 291b60ac3161af0f7a6b3eafe7e6913f049de087 /Makefiles | |
parent | f17c587b737af0ae44427334dadff51dd84093f7 (diff) |
Add 2022 day 7 solutions
Diffstat (limited to 'Makefiles')
-rw-r--r-- | Makefiles/sh.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefiles/sh.mk b/Makefiles/sh.mk new file mode 100644 index 0000000..2eaa3a2 --- /dev/null +++ b/Makefiles/sh.mk @@ -0,0 +1,9 @@ +.POSIX: + +all: + sed '/START PART 2/,/END PART 2/d' puzzles.sh >puzzle-1.sh + sed '/START PART 1/,/END PART 1/d' puzzles.sh >puzzle-2.sh + chmod +x puzzle-[12].sh + +clean: + rm -f puzzle-[12].sh |