From f245182e76d909970c165fd8859e37740a9f99ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Sun, 3 May 2020 22:12:02 +0200 Subject: [PATCH] Add install target to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03b7e9f..6f52c97 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -NAME=matrix-alertmanager-receiver +NAME=yggdrasil-http-proxy +PREFIX?=/usr/local all: build @@ -8,5 +9,8 @@ getDeps: build: go build +install: build + install -m 0755 $(NAME) $(PREFIX)/bin/$(NAME) + clean: rm $(NAME)