文章目录
- Windows
- Mac
- Ubuntu
- CentOS/Red Hat
make是系统比较基础的命令,一般会自己携带,如果没有就手动安装一下吧。
Windows
从官网下载 make.exe Make for Windows
官网首页:https://www.gnu.org/software/make/
下载地址:https://gnuwin32.sourceforge.net/packages/make.htm
点击框中的下载,下载后安装。把安装路径添加到环境变量 PATH 中.
在终端,执行以下命令,将出现Make版本信息:
make -v
hi,我在开发一个很酷的Golang Web框架,可以方便的Web开发
github地址:https://github.com/gone-io/gone
文档原地址:https://goner.fun/zh/guide/auto-gen-priest.html
请帮忙在github上点个 ⭐️吧,这对我很重要 ;万分感谢!!
Mac
先安装brew
,参考官网:https://brew.sh/zh-cn/
然后使用brew安装make:
brew install make
测试:
➜ ~ 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-apple-darwin11.3.0
Ubuntu
apt update
apt install make
CentOS/Red Hat
yum update
yum install make