Search notes:

cl /c

cl /c prog.c compiles a source file (prog.c) and creates an object file from it, but no linking will be done to create an executable or a DLL.
By default, the created object file has the name as the source file, but with the suffix .obj. In order to specify a non-default name for the object file to be created, the /Fo option needs to be used.

See also

Other cl options.

Index