First, Download cbmakegen from the official website
Official website address: http://developer.berlios.de/projects/cbmakegen/
Can also be downloaded through my baidu disk
[Windows version] address: http://pan.baidu.com/share/link?shareid=123030&uk=1227046485
[Linux version] address: http://pan.baidu.com/share/link?shareid=123067&uk=1227046485
【Windows】
Decompress cbmakefilegen-bin-0.3.12.5-win32
obtain cbMakefileGen.cbplugin
Open plugins – & gt; manage plugins in the code:: blocks interface
add to cbMakefileGen.cbplugin
Then the generate makefile option will appear in the Project menu to export the makefile
It appears in the project directory Makefile.gen