diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-09-05 18:35:32 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-09-05 18:35:32 -0500 |
commit | f487121b269f6e76815b4b7b10d42e823350378d (patch) | |
tree | b1cdb4d71c85765639458b593b9d6858adceac96 | |
parent | 6f12d24bc9a6e366c41e3154e9cefd2b149fb861 (diff) | |
download | planr-auxiliary-tools-f487121b269f6e76815b4b7b10d42e823350378d.tar.xz planr-auxiliary-tools-f487121b269f6e76815b4b7b10d42e823350378d.zip |
Add makefile
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5ac7261 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +ifeq ($(PREFIX),) + PREFIX := /usr/local +endif + +ifeq ($(BINDIR),) + BINDIR := /bin +endif + +CMD=planr-cfg + +make: + +install: + mkdir -p $(DESTDIR)$(PREFIX)$(BINDIR)/ + install -m 755 $(CMD) $(DESTDIR)$(PREFIX)$(BINDIR)/ + +uninstall: + rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$(CMD) + +.PHONY: install uninstall make |