2016-06-18 18:28:08 +00:00
|
|
|
GOBIN = build/bin
|
2016-06-17 11:55:54 +00:00
|
|
|
GO ?= latest
|
|
|
|
|
|
|
|
statusgo:
|
2016-06-18 18:33:35 +00:00
|
|
|
build/env.sh go build -i -o $(GOBIN)/statusgo ./src
|
2016-06-18 18:28:08 +00:00
|
|
|
@echo "status go compilation done."
|
|
|
|
@echo "Run \"build/bin/statusgo\" to view available commands"
|
2016-06-17 11:55:54 +00:00
|
|
|
|
|
|
|
statusgo-android: xgo
|
2016-06-18 18:33:35 +00:00
|
|
|
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=android-16/aar ./src
|
2016-06-17 11:55:54 +00:00
|
|
|
@echo "Android cross compilation done:"
|
|
|
|
|
|
|
|
xgo:
|
2016-06-18 18:28:08 +00:00
|
|
|
build/env.sh go get github.com/karalabe/xgo
|