修改:1、修改makefile文件,修改可执行文件名称
This commit is contained in:
parent
b82cb09966
commit
1090204641
|
@ -7,3 +7,7 @@ log/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
openGW
|
openGW
|
||||||
openGW.exe
|
openGW.exe
|
||||||
|
openGW_arm64
|
||||||
|
openGW_armV5
|
||||||
|
openGW_linux64
|
||||||
|
openGW_win64.exe
|
||||||
|
|
14
Makefile
14
Makefile
|
@ -4,16 +4,16 @@
|
||||||
BINARY="openGW"
|
BINARY="openGW"
|
||||||
|
|
||||||
linux-armv5:
|
linux-armv5:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -o openGW -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -o openGW_armV5 -ldflags "-s -w"
|
||||||
linux-armv7:
|
linux-armv7:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o openGW -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o openGW_armV7 -ldflags "-s -w"
|
||||||
linux-arm64:
|
linux-arm64:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o openGW -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o openGW_arm64 -ldflags "-s -w"
|
||||||
linux-386:
|
linux-386:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o openGW -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o openGW_linux386 -ldflags "-s -w"
|
||||||
linux-amd64:
|
linux-amd64:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o openGW -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o openGW_linux64 -ldflags "-s -w"
|
||||||
windows-386:
|
windows-386:
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o openGW.exe -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o openGW_win386.exe -ldflags "-s -w"
|
||||||
windows-amd64:
|
windows-amd64:
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o openGW.exe -ldflags "-s -w"
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o openGW_win64.exe -ldflags "-s -w"
|
|
@ -1,8 +1,8 @@
|
||||||
make linux-armv5
|
make linux-armv5
|
||||||
cp openGW ../Release/linux-armv5/
|
cp openGW_armV5 ../Release/
|
||||||
make linux-arm64
|
make linux-arm64
|
||||||
cp openGW ../Release/linux-arm64/
|
cp openGW_arm64 ../Release/
|
||||||
make linux-amd64
|
make linux-amd64
|
||||||
cp openGW ../Release/linux-amd64/
|
cp openGW_linux64 ../Release/
|
||||||
make windows-amd64
|
make windows-amd64
|
||||||
cp openGW.exe ../Release/windows-amd64/
|
cp openGW_win64.exe ../Release/
|
Loading…
Reference in New Issue