diff --git a/Makefile b/Makefile index 8bd9f3d..0685a05 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,19 @@ +.PHONY: build build: - go build -trimpath -ldflags "-s -w" . + go build \ + -trimpath \ + -buildmode=pie \ + -ldflags "-s -w" \ + . +.PHONY: test test: go test -v ./... +.PHONY: fmt fmt: gofmt -d -e -s . +.PHONY: clean clean: - go clean \ No newline at end of file + go clean