diff options
-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) | ||