forked from staaldraad/tcpprox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (25 loc) · 647 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (25 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
build:
go build -o tcpprox tcpprox.go
run:
go run tcpprox.go
compile:
# 32-bit
# Linux
GOOS=linux GOARCH=386 go build -o tcpprox-linux86
sha256sum tcpprox-linux86
# Windows
GOOS=windows GOARCH=386 go build -o tcpprox-win86.exe
sha256sum tcpprox-win86.exe
# OSX
GOOS=darwin GOARCH=386 go build -o tcpprox-osx86
sha256sum tcpprox-osx86
# 64-bit
# Linux
GOOS=linux GOARCH=amd64 go build -o tcpprox-linux64
sha256sum tcpprox-linux64
# Windows
GOOS=windows GOARCH=amd64 go build -o tcpprox-win64.exe
sha256sum tcpprox-win64.exe
# OSX
GOOS=darwin GOARCH=amd64 go build -o tcpprox-osx64
sha256sum tcpprox-osx64