xmnt/Makefile

16 lines
248 B
Makefile

BIN_NAME := xmnt
build:
CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' -o "$(BIN_NAME)"
install: build
install -vDt "${HOME}/.local/bin" "$(BIN_NAME)"
clean:
rm -vf "$(BIN_NAME)"
lint:
golangci-lint run
.PHONY: build install clean lint