make && make install的区别

./configure 配置环境
make 是编译的意思。就是把源码包编译成二进制可执行文件
make install 就是安装的意思。

make && make install 的意思是:
  • make 与 make install 是两个命令,在你 ./configuration 生成了Makefile之后执行编译安装;
  • 与 && 一起的还有||,不过意思不一样,&&是与,||是或;
  • make && make install 的意思就是在执行完 make 后,如果没有发生错误就执行make install 

参考链接:http://blog.sina.com.cn/s/blog_75afbf420102xov4.html

猜你喜欢

转载自www.cnblogs.com/huainanhai/p/12077563.html