diff --git a/Makefile b/Makefile index 27a566e..e202959 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT:=ferry .PHONY: build build: - CGO_ENABLED=0 go build -o ferry main.go + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ferry main.go && upx -9 ferry build-sqlite: go build -tags sqlite3 -o ferry main.go #.PHONY: test