All *.cpp files are ignored by Makefile

Marcus Hähnel mhaehnel at
Sun Jun 2 12:25:48 CEST 2013

>>>  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 ?

You can add


to your Makefile to make BID recognize CPP files as c plus plus code.

- Marcus

More information about the l4-hackers mailing list