EDIT: I figured out that there is an option in Project properties to set a custom make file. Now the project build fine. Now, I am stumbled on how to specify the target executab
In [Project -> Properties... -> Build targets -> Output filename] you may specify the executable.
[Project -> Set programs' arguments...] allows to select a host application and command-line parameters.