diff --git a/Makefile b/Makefile index bcc9e45..a04e788 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ VERSION ?= dev GO ?= go +GOARCH ?= amd64 build: ./bin ui-build - $(GO) build -o ./bin ./cmd/broadcast + GOOS=linux GOARCH=$(GOARCH) \ + $(GO) build -o ./bin/broadcast-$(GOARCH) ./cmd/broadcast ./bin: mkdir -p bin