Hi,
just open the CB menu settings/compiler and debugger settings and select your compiler. Then click the tab other settings and push the button advanced options.
In the advanced compiler options open the tab Others and configure the object file extension.
Bye