make:Windows安装make
在Windows中没有make,但是可以通过安装MinGW或者MinGW-w64,得到make。
安装MinGW:
https://blog.csdn.net/test1280/article/details/118106818
安装MinGW-w64:
https://blog.csdn.net/test1280/article/details/118108972
此时,你的Windows环境变量PATH已经指向了MinGW或者MinGW-w64的bin:
在MinGW/bin或者MinGW-w64/bin中,都包含有:mingw32-make.exe:
此时,直接执行mingw32-make.exe,可以实现make功能:
EB@DESKTOP-K45IA6V MINGW64 /d/app
$ mingw32-make.exe -v
GNU Make 4.2.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
或者,习惯使用make指令,可以cp mingw32-make.exe make:
EB@DESKTOP-K45IA6V MINGW64 /d/app/mingw64/bin
$ cp mingw32-make.exe make
EB@DESKTOP-K45IA6V MINGW64 /d/app/mingw64/bin
$ make -v
GNU Make 4.2.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
EB@DESKTOP-K45IA6V MINGW64 /d/app/mingw64/bin
参考:https://blog.csdn.net/qq_45467083/article/details/110633407