/c - Compile Without Linking (Windows CE 5.0)
This option instructs the compiler to compile all C source files typed on the command line. The compiler creates object files only, but does not pass object files to the linker. The compiler does not produce an executable file or DLL.
The following code example compiles First.c, creating the object file First.obj, and then compiles Second.c, creating the object file Second.obj. The compiler does not perform processing with Third.obj, because the compiler stops the build process after compilation and before linking.
CL /c FIRST.C SECOND.C THIRD.OBJ
See Also
Send Feedback on this topic to the authors