diff --git a/Makefile b/Makefile index dc4616e..2d7a03f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ srv: srv.go internal/*/*.go internal/*/*/*.go - go build -o srv ./ + go build -o srv -ldflags '-w -linkmode external -extldflags "-static"' ./ go-test: go test ./...