如何在命令行中使用 Free Pascal 中的多个源文件?

How do I use multiple source files in Free Pascal on the command-line?

如何编译包含多个源文件的 Free Pascal 程序? 具体来说,Free Pascal 是否有类似 Makefile 的系统?

通常的方法是在程序的序言中使用 uses 子句从另一个文件导入单元。有关 Free Pascal 支持的语言的说明,请参阅 Free Pascal Language Reference