Is there some menu option where I can make a makefile from current project?
You have the command-line utility cbp2make.exe in the same folder of CodeBlocks.exe. It is easy to integrate in the menu using the Tools+ plugin, see this wiki article (https://wiki.codeblocks.org/index.php/Tools%2B_reference#Export_makefile) for a how-to.
Follow this steps