【发布时间】:2014-02-27 08:22:28
【问题描述】:
我有一个现有的 makefile c-Project。正如自述文件中所述,我使用 make 和 make install 在我的 shell 中预构建了它。
然后我将其导入为 File->Import "Existing code as Makefile Project"。我再次按下“构建”按钮,但我认为,因为它是在 shell 之前构建的,所以它没有再次构建。
控制台说:
09:14:15 **** Incremental Build of configuration Default for project candis ****
make all
echo "Make each directory individually."
Make each directory individually.
echo "``make lib'' makes the libraries"
make lib'' makes the libraries
echo "``make clean'' cleans out binaries and .o files everywhere"
make clean'' cleans out binaries and .o files everywhere
echo "``make tar'' tars up a distribution and redoes the libs"
make tar'' tars up a distribution and redoes the libs
09:14:15 Build Finished (took 136ms)
然后我尝试创建一个新的源代码文件,我将其命名为“prog1.c”。我保存了它并再次按下“构建”按钮,但我认为没有发生任何事情,所以我的程序。
如何创建工作函数? 我可能会更改我的 Makefile 中的某些内容?
【问题讨论】:
标签: c eclipse import makefile project