修改:1、修改makefile
This commit is contained in:
parent
e0f93e2c1c
commit
00bc48c104
2
Makefile
2
Makefile
|
@ -7,6 +7,8 @@ linux-armv5:
|
|||
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -o openGW -ldflags "-s -w"
|
||||
linux-armv7:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o openGW -ldflags "-s -w"
|
||||
linux-arm64:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o openGW -ldflags "-s -w"
|
||||
linux-386:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o openGW -ldflags "-s -w"
|
||||
linux-amd64:
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
make linux-armv5
|
||||
cp openGW ../Release/linux-armv5/
|
||||
make linux-arm64
|
||||
cp openGW ../Release/linux-arm64/
|
||||
make linux-amd64
|
||||
cp openGW ../Release/linux-amd64/
|
||||
make windows-amd64
|
||||
cp openGW.exe ../Release/windows-amd64/
|
Loading…
Reference in New Issue