Skip to content

Commit 0bb69d2

Browse files
committed
Fixed Make file
1 parent f6ab002 commit 0bb69d2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Makefile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1+
all: build-macosx build-x86 build-x64
2+
13
build-x64:
24
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
35
tar -czf cloud_ssh_x64.tar.gz cloud-ssh
46
rm cloud-ssh
57

68
build-x86:
7-
GOOS=linux GOARCH=i386 CGO_ENABLED=0 go build
9+
GOOS=linux GOARCH=386 CGO_ENABLED=0 go build
810
tar -czf cloud_ssh_x86.tar.gz cloud-ssh
911
rm cloud-ssh
1012

11-
build-macos:
13+
build-macosx:
1214
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build
1315
tar -czf cloud_ssh_macosx.tar.gz cloud-ssh
14-
rm cloud-ssh
15-
16-
all:
17-
build-macos
18-
build-x86
19-
build-x64
16+
rm cloud-ssh

0 commit comments

Comments
 (0)