Skip to content

Commit

Permalink
Add arm64 ios android build in makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Jul 28, 2020
1 parent 72e0225 commit 296c89f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,13 @@ zip:
all:
${MAKE} build GOOS=darwin GOARCH=amd64
${MAKE} build GOOS=linux GOARCH=amd64
${MAKE} build GOOS=linux GOARCH=arm64
${MAKE} build GOOS=windows GOARCH=amd64 EXT=.exe

.PHONY: ios
ios:
gomobile bind -target=ios -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna

.PHONY: android
android:
gomobile bind -target=android -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna

0 comments on commit 296c89f

Please sign in to comment.