> Also I'd like to see an example of a proper Makefile for FPC written > programs, as I think most of my units are not compiled with debugging > info... You can use fpcmake to generate a Makefile. See the manuals for more information