1 Star 0 Fork 193

david / openGW

forked from shiyin1211 / openGW 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 877 Bytes
一键复制 编辑 原始数据 按行查看 历史
#.PHONY用来定义伪目标。不创建目标文件,而是去执行这个目标下面的命令
.PHONY: linux-armv5 linux-armv7 linux-386 linux-amd64 windows-386 windows-amd64
BINARY="openGW"
linux-armv5:
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -o openGW_armV5 -ldflags "-s -w"
linux-armv7:
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o openGW_armV7 -ldflags "-s -w"
linux-arm64:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o openGW_arm64 -ldflags "-s -w"
linux-386:
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o openGW_linux32 -ldflags "-s -w"
linux-amd64:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o openGW_linux64 -ldflags "-s -w"
windows-386:
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o openGW_win32.exe -ldflags "-s -w"
windows-amd64:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o openGW_win64.exe -ldflags "-s -w"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/david-hw/goAdapter.git
git@gitee.com:david-hw/goAdapter.git
david-hw
goAdapter
openGW
develop

搜索帮助

344bd9b3 5694891 D2dac590 5694891