diff options
author | Case Duckworth | 2020-05-26 07:02:25 -0500 |
---|---|---|
committer | Case Duckworth | 2020-05-26 07:02:25 -0500 |
commit | 14ddf6244098b533333caf79af114b95d72a166d (patch) | |
tree | dfda855ad291a6ebbaaadbc6be35656af2f9fa9b | |
parent | Add less prompts (diff) | |
download | bollux-14ddf6244098b533333caf79af114b95d72a166d.tar.gz bollux-14ddf6244098b533333caf79af114b95d72a166d.zip |
Add Makefile
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3096726 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | # bollux: a gemini client in bash | ||
2 | # Author: Case Duckworth <acdw@acdw.net> | ||
3 | # License: MIT | ||
4 | |||
5 | PREFIX ?= /usr | ||
6 | |||
7 | PRGN := bollux | ||
8 | |||
9 | .PHONY: def install uninstall | ||
10 | |||
11 | def: | ||
12 | @echo "run 'make install' to install" | ||
13 | @echo "run 'make uninstall' to uninstall" | ||
14 | |||
15 | install: $(PRGN) | ||
16 | install -D $< $(DESTDIR)$(PREFIX)/bin | ||
17 | |||
18 | uninstall: | ||
19 | rm -f $(DESTDIR)$(PREFIX)/bin/$(PRGN) | ||