Allow overriding the value of GOOS, GOARCH, and GOARM from the shell prior to executing gnu make.

pull/11/head
Brant K. Kyser 2015-08-20 12:50:21 -05:00
rodzic 1437a07f7a
commit 438c047442
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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