summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-06-25 23:18:41 -0400
committerAndrew Cady <d@jerkface.net>2019-06-25 23:18:41 -0400
commit5ae755c63e686f93e8075e7ff0e8002700ff36b4 (patch)
tree5ccf21b7912f9ddeb86d39e5b7651334692ed747 /Makefile
parent30efc81705bb74a89f1e29c23d4a074d033ebe48 (diff)
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1baa086
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
1binary = fsmgr
2
3sudo := $(shell [ "$(id -u)" = 0 ] || echo sudo)
4
5build:
6 stack build
7
8install: build
9 stack install
10 $(sudo) install ~/.local/bin/$(binary) /usr/local/bin