I tried to add a few .cpp files to Makefile but it seems that L4Re build
systems ignores this extension.
Not exactly. The build system considers .cpp as preprocessed C files. Please use .cc as extension for C++ code.
Then how do I port libs like Qt to L4Re? Qt uses .cpp extension for C++ code ... I can not rename all Qt .cpp file to .cc :)
Is there any way to make the build system to considers .cpp extension as C++ code as well ?
Thanks.
Cheers, BogDan.