kdevelop build project error

Hi,
I am starting to learn how to use KDevelop. I have a console program with .cc, .h and Makefile. To work it in KDevelop, I firstly create a C++ Simple Hello World program, remove the single existing target in the project
and also the auto-created main.cpp. Then I copy my .cc and .h files into the "src" directory, and add them into the "Header noisny" in the lower panel of Automake Manager. Now I tried "Build Project" but get error:

Can anyone help to fix this problem? Thanks a lot!

Is there any other error info? that post doesn't contain an error.

Why are you adding cc files to the headers listing? they're not headers.

Removing the target tells it to build nothing at all. It needs a target.

Questions about kdevelop rather than actual programming may be better placed in the software forums. kdevelop's not the language or the compiler, it just uses them (badly).

Lastly, I don't reccomend kdevelop due to its addiction to automake.