13 lines
217 B
Makefile
13 lines
217 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)"
|
||
|
|
||
|
.PHONY: build install clean
|