Compiler Option: -c
Compile source file only, do not link
Syntax
`
-c
`
Description
The `-c` option specifies that any source files listed are to be compiled into object files, and not linked into an executable (the default behavior).
To compile the source files file1.bas and file2.bas into the object files file1.o and apple.o, type,
`fbc -c file1.bas file2.bas -o apple.o`
Note that the `-o` option only has an effect when used with the `-c` option (compile only), as object files are not saved otherwise.
See also

- Compiler Option: -C
- Compiler Option: -r
- Compiler Option: -b
- Using the Command Line