Makefile, android build

This commit is contained in:
Daniel Whitenack 2016-06-17 06:55:54 -05:00
parent ae676e8140
commit 9858dc5d0d
1 changed files with 13 additions and 0 deletions

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
GO ?= latest
statusgo:
go install
@echo "Done installing status go."
@echo "Run \"statusgo\" to view available commands"
statusgo-android: xgo
xgo --go=$(GO) --targets=android-16/aar ./
@echo "Android cross compilation done:"
xgo:
go get github.com/karalabe/xgo