[fpc-pascal] The secrets of FPMake

luciano de souza luchyanus at gmail.com
Mon Dec 3 08:14:22 CET 2012


Hello all,
Browsing in FPC directories, I found several occurances of FPMake.pp.
It's a makefile for Freepascal programs.
In the /bin directory, I found "pas2fm" that reads a unit and creates
a fpmake prototype program.
As an example, I compile fpmake found in CHM directory. A fpmake.exe
was generated. When I executed it it complains about a RTL
dependences.
Actually, my question is: how to take advantage of fpmake features?
What does FPMake really mean?
I suppose a makefile is a batch to pass some commands to the compiler.
The "-Fu" commands, for example, could be there. But, the FPC
commandline is very rich. If I can create a batch to automatize some
borring compilations, why would I use FPMake?
My conclusion is that I really don't understand what exactly FPMake means?
Regards,
Luciano



More information about the fpc-pascal mailing list