summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6690a0e..aa104f2 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ certs:
build-client:
go get ./...
- go build -o obfsvpn-client ./client
+ go build -o obfsvpn-client ./cmd/client/
run-client:
./obfsvpn-client -c ${OBFS4_CERT}
@@ -32,3 +32,10 @@ go-vet:
go-sec:
gosec ./...
+
+GOMOBILE = $(shell go env GOPATH)/bin/gomobile
+
+build-android:
+ go get -u golang.org/x/mobile/cmd/gomobile
+ $(GOMOBILE) init
+ $(GOMOBILE) bind -x -target android -o mobile/android/obfsvpn.aar ./client/