diff --git a/Makefile b/Makefile index 70847c41..23b0b45f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ +GOOS ?= linux +GOARCH ?= arm +GOARM ?= 6 + all: - GOOS=linux GOARCH=arm GOARM=6 go build gen_gdl90.go traffic.go ry835ai.go network.go + GOOS=$(GOOS) GOARCH=$(GOARCH) GOARM=$(GOARM) go build gen_gdl90.go traffic.go ry835ai.go network.go clean: rm -f gen_gdl90