‑‑mfc
In this section:
Syntax
Description
Use this option to enable multi-file compilation. This means that the compiler compiles one or several source files specified on the command line as one unit, which enhances interprocedural optimizations.
Note
The compiler will generate one object file per input source code file, where the first object file contains all relevant data and the other ones are empty. If you want only the first file to be produced, use the -o compiler option and specify a certain output file.
Example
iccarm myfile1.c myfile2.c myfile3.c ‑‑mfc
See also
‑‑discard_unused_publics, ‑‑output, -o, and Multi-file compilation units.
Caution
Project>Options>C/C++ Compiler>Multi-file compilation