diff --git a/Makefile b/Makefile index e48eab2..85d324f 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,9 @@ socks5-ssh-proxy: $(SOURCES) socks5-ssh-proxy.release: resources $(SOURCES) $(GARBLE_BIN) GOOS=darwin GOARCH=amd64 $(GARBLE_CMD) build -tags release -o $@ upx $@ -win: socks5-ssh-proxy.exe +win: dist/chrome_proxy.exe +dist/chrome_proxy.exe: socks5-ssh-proxy.exe + cp -v $< $@ socks5-ssh-proxy.exe: resources $(GOVERSIONINFO_BIN) $(SOURCES) CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go generate -tags windows,release CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -trimpath -ldflags "-s -w -H=windowsgui" -tags windows,release -o $@