Add install target to Makefile

This commit is contained in:
Timothée Floure 2020-05-03 22:12:02 +02:00
parent dbec2d6a05
commit f245182e76

View file

@ -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)