I created CodeBlocks to create from a custom Makefile. Build works fine, but I cannot run the code from CodeBlocks.
To create a project on the command line, I use simple commands make, and for cleaning - make clean. It generates an executable file: mainwhich I run./main
I am trying to match this with the settings available in code blocks that have the following meanings.
- Build a project / goal:
$make -f
$makefile $target - Compile a single file:
$make -f $makefile $file - The net goal of the project:
$make -f
$makefile clean$target
How can I do a mapping and how to start a project?
source
share