From 5d9da3e559af3a61d7ef0bb36072f77339ccf52a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 12 Apr 2020 12:41:59 -0500 Subject: Add Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..356f070 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +# mrgrctrnl + +PREFIX ?= /usr + +BIN := mrgrctrnl + +install: $(BIN) + mkdir -p $(DESTDIR)$(PREFIX)/bin + install $< $(DESTDIR)$(PREFIX)/bin/$< + chmod 755 $(DESTDIR)$(PREFIX)/bin/$< + +uninstall: $(DESTDIR)$(PREFIX)/bin/$(BIN) + rm -f $< -- cgit 1.4.1-21-gabe81