[PATCH 3/9] makefiles: Add support for C++ sources.