16 lines
187 B
Makefile
16 lines
187 B
Makefile
NAME=matrix-alertmanager-receiver
|
|
PREFIX?=/usr/local
|
|
|
|
all: build
|
|
|
|
getDeps:
|
|
go get -v
|
|
|
|
build:
|
|
go build
|
|
|
|
install: build
|
|
install -m 0755 $(NAME) $(PREFIX)/bin/$(NAME)
|
|
|
|
clean:
|
|
rm $(NAME)
|