diff options
author | Case Duckworth | 2020-04-12 12:41:59 -0500 |
---|---|---|
committer | Case Duckworth | 2020-04-12 12:41:59 -0500 |
commit | 5d9da3e559af3a61d7ef0bb36072f77339ccf52a (patch) | |
tree | fe1e88012ff0e87f8d77071a216e7c8c9b3825af /Makefile | |
parent | Add LICENSE (diff) | |
download | mrgrctrnl-5d9da3e559af3a61d7ef0bb36072f77339ccf52a.tar.gz mrgrctrnl-5d9da3e559af3a61d7ef0bb36072f77339ccf52a.zip |
Add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..356f070 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,13 @@ | |||
1 | # mrgrctrnl | ||
2 | |||
3 | PREFIX ?= /usr | ||
4 | |||
5 | BIN := mrgrctrnl | ||
6 | |||
7 | install: $(BIN) | ||
8 | mkdir -p $(DESTDIR)$(PREFIX)/bin | ||
9 | install $< $(DESTDIR)$(PREFIX)/bin/$< | ||
10 | chmod 755 $(DESTDIR)$(PREFIX)/bin/$< | ||
11 | |||
12 | uninstall: $(DESTDIR)$(PREFIX)/bin/$(BIN) | ||
13 | rm -f $< | ||