make: *** No rule to make target `all'. Stop.

Eclipse 创建makefile 工程时,在默认情况下不会创建makefile文件。编译工程时就会出现 make: *** No rule to make target `all'. Stop. 

 

解决:

    本身具有自动创建makefile的功能,只要打开就OK啦。

    菜单:project->properties

            C/C++ Build页面 Makefile generation 开启 Generate Makefiles automatically功能

 

 

环境:

  Eclipse Juno IDE for C/C++Developers

  Win 7

   

posted @ 2013-04-29 21:10  cmacro  阅读(2497)  评论(0编辑  收藏  举报