我们知道,windows默认是不支持 make
命令的,但通过其它的第三方项目,也可实现其大部分功能,这里我们以 GNU make
为例
- 下载地址
https://gnuwin32.sourceforge.net/packages/make.htm
-
下载完成后,点击安装到指定文件夹
- 将可执行文件目录,添加到系统环境变量中
E:\GnuWin32\bin
- 验证是否安装成功
C:\Users>make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-mingw32