Makefiles: Add Objective C/C++ compilations to compile_commands.json

Fixes: #20634
1 file changed