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