5.7.2.1 C: Compile To Intermediate File

The -c option is used to generate an intermediate file for each source file listed on the command line.

For all source files, compilation will terminate after executing the assembler, leaving behind relocatable object files with a .o extension.

This option is often used to facilitate multi-step builds using a make utility.