How do I compile a Free Pascal program consisting of multiple source files?
Specifically, is there a Makefile-like system for Free Pascal?
The usual way is by using a uses
clause in the preamble of your program to import units from another file. See the Free Pascal Language Reference for a description of the langauge supported by Free Pascal.