Code::Blocks 导入Makefile工程

1)“File -> New -> Project”,选择“Empty Project”并创建。

2)选中 Project,右键,选择“Add files”,将 c/c++ 和 head files 加入工程。

3)选中 Project,右键,选择“Properties”,“Project settings”选项卡中的“Makefile”填入   

   Makefile 文件名,并勾选“This is a custom Makefile”。

4)选中 Project,右键,选择“Build options”,删除“"Make" command”选项卡中所有的“$target”

猜你喜欢

转载自www.cnblogs.com/lidabo/p/10281845.html