aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-03 12:14:39 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-07 11:31:53 +0200
commitb52fab1a32ec7072cdee0d66e86657fe970b10a9 (patch)
tree784f8d7a02955d83a4b45a825247bd1a121d5fb4 /Makefile
parentbuild: remove .exe suffix from command invocations (diff)
downloadwireguard-windows-b52fab1a32ec7072cdee0d66e86657fe970b10a9.tar.xz
wireguard-windows-b52fab1a32ec7072cdee0d66e86657fe970b10a9.zip
tunnel: fix formatting
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9bc56260..eb50bc37 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,10 @@ x86/wireguard.exe: export GOARCH := 386
x86/wireguard.exe: resources_386.syso $(SOURCE_FILES)
go build $(GOFLAGS) -o $@
+fmt: export CC := i686-w64-mingw32-gcc
+fmt:
+ go fmt ./...
+
deploy: amd64/wireguard.exe
-ssh $(DEPLOYMENT_HOST) -- 'taskkill /im wireguard.exe /f'
scp $< $(DEPLOYMENT_HOST):$(DEPLOYMENT_PATH)
@@ -48,4 +52,4 @@ deploy: amd64/wireguard.exe
clean:
rm -rf *.syso ui/icon/*.ico x86/ amd64/ .deps
-.PHONY: deploy clean all
+.PHONY: deploy clean fmt all