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