diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-05 10:57:33 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-05 20:12:19 +0200 |
commit | b2ae271c4c9ab275745fe7719fab6216aab601db (patch) | |
tree | 6407d33ef235eb03d635fe22dbd61b408221c18e /Makefile | |
parent | version: bump (diff) | |
download | wireguard-windows-b2ae271c4c9ab275745fe7719fab6216aab601db.tar.xz wireguard-windows-b2ae271c4c9ab275745fe7719fab6216aab601db.zip |
go.mod: operate like a normal go module
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -37,7 +37,15 @@ x86/wireguard.exe: resources_386.syso $(SOURCE_FILES) $(VERSIONCHECK) go build $(GOFLAGS) -o $@ -fmt: export CC := i686-w64-mingw32-gcc +remaster: export CC := x86_64-w64-mingw32-gcc +remaster: export GOARCH := amd64 +remaster: + rm -f go.sum go.mod + cp go.mod.master go.mod + go get + +fmt: export CC := x86_64-w64-mingw32-gcc +fmt: export GOARCH := amd64 fmt: go fmt ./... @@ -48,4 +56,4 @@ deploy: amd64/wireguard.exe clean: rm -rf *.syso ui/icon/*.ico x86/ amd64/ .deps -.PHONY: deploy clean fmt all +.PHONY: deploy clean fmt remaster all |