If you have created a Standard Make C/C++ Project, you need to provide a makefile.
When you build a project, output from make is displayed in the C-Build view. Makefile actions are displayed in the Make Targets view.
To create a makefile:
The C/C++ editor opens.
Projects
Working with C/C++ project files
Displaying C/C++ file components in the
C/C++ Projects view
Hiding files by type in the C/C++ Projects
view