aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e6fb4c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+PY3_SHEBANG = /usr/bin/env/ python3
+
+
+.PHONY: all
+all: bfind
+
+bfind: src/bfind.py
+ cp "$<" "$@"
+ sed -i 's:/usr/bin/env/ python3:$(PY3_SHEBANG):' "$@"
+
+
+.PHONY: clean
+clean:
+ -rm -- bfind
+