diff --git a/Makefile b/Makefile index ac8d75adcf..c4da421eb1 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GOBIND=env PATH="$(GOBIN):$(PATH)" "$(GOMOBILE)" bind IMPORT_HOST=github.com IMPORT_PATH=$(IMPORT_HOST)/Jigsaw-Code/outline-client -.PHONY: android apple linux windows +.PHONY: android apple linux windows browser all: android apple linux windows @@ -35,6 +35,9 @@ $(BUILDDIR)/apple/Tun2socks.xcframework: $(BUILDDIR)/ios/Tun2socks.xcframework $ find $^ -name "Tun2socks.framework" -type d | xargs -I {} echo " -framework {} " | \ xargs xcrun xcodebuild -create-xcframework -output "$@" +browser: + echo "Browser target not needed for tun2socks" + XGO=$(GOBIN)/xgo TUN2SOCKS_VERSION=v1.16.11 XGO_LDFLAGS='-w -X main.version=$(TUN2SOCKS_VERSION)'