qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 1a313306d6b5a3587aac12bd0093876e84386b03
parent f151e426585ef86e3b4295bbe02f5c9072b58ea4
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon, 27 Feb 2017 18:02:44 +0100

add install and uninstall targets to Makefile

Diffstat:
MMakefile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -30,6 +30,13 @@ config.h: *) echo "#define Defaultasm Gaself" ;; \ esac > $@ +install: $(OBJDIR)/$(BIN) + mkdir -p "$(DESTDIR)/$(PREFIX)/bin/" + cp $< "$(DESTDIR)/$(PREFIX)/bin/" + +uninstall: + rm -f "$(DESTDIR)/$(PREFIX)/bin/$(BIN)" + clean: rm -fr $(OBJDIR)