在windows上安装make有三个渠道:
第一个渠道是从官网下载 make.exe Make for Windows
官网首页:https://www.gnu.org/software/make/
下载地址:https://gnuwin32.sourceforge.net/downlinks/make.php
完整安装后。把安装路径添加到环境变量 PATH 中.
第二种是chocolatey 参考chocolaty官网安装chocolatey
https://community.chocolatey.org/packages/make
管理员运行power shell,
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
接着在power shell中键入如下命令安装make
choco install make
第三种是安装mingw
里面有mingw32-make.exe,拷贝之后重命名为make.exe添加到环境变量PATH
mingw下载路径在这里:https://sourceforge.net/projects/mingw/
评论(0)