aboutsummaryrefslogtreecommitdiff
path: root/2015/21
diff options
context:
space:
mode:
Diffstat (limited to '2015/21')
-rw-r--r--2015/21/Makefile9
-rw-r--r--2015/21/puzzles.py2
2 files changed, 2 insertions, 9 deletions
diff --git a/2015/21/Makefile b/2015/21/Makefile
index 247194a..0a4e980 100644
--- a/2015/21/Makefile
+++ b/2015/21/Makefile
@@ -1,8 +1 @@
-all:
- sed '/START PART 2/,/END PART 2/d' puzzles.py >puzzle-1.py
- sed '/START PART 1/,/END PART 1/d' puzzles.py >puzzle-2.py
- chmod +x puzzle-[12].py
-
-.PHONY: clean
-clean:
- rm -f puzzle-[12].py
+include ../../Makefiles/py.mk
diff --git a/2015/21/puzzles.py b/2015/21/puzzles.py
index 103a2eb..6b17751 100644
--- a/2015/21/puzzles.py
+++ b/2015/21/puzzles.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import itertools