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
Mailing lists / fpc-pascal / 2012-12
The secrets of FPMake
2 messages · 2 people ·
- Lluciano de souza 1
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
luciano de souza wrote 14 lines
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?
fpmake is an attempt to get rid of the Makefiles.
The basic philosophy is that since all FPC users know Pascal, making a build system in pascal makes more sense than requiring people to know Makefiles.
The idea is that fpmake and it's sister tool fppkg are the corner stones of a repository system such as CPAN, CTAN etc.
I have not yet had time to document fpMake properly. You can find more info at: http://wiki.freepascal.org/FPMake
Michael.
