[fpc-pascal] Rename executable extension MAKE or FPC
Peter Vreman
peter at freepascal.org
Sat Oct 28 19:26:39 CEST 2006
> Hi all, it's been a long time.. but I have a question.
>
> Is there any way tell FPCMAKE to rename all PROGRAMS to have a different
> extension?
>
> Example:
>
> On Windows:
> someprog.exe --> someprog.abc
>
> On Linux/BSD
> someprog --> someprog.abc
>
> Or is there any predefined macros that I can use with the -o (output)
> option to tell fpc
> compiler to rename the current executable being compiled, for example
>
> fpc test.pp -o$(targetexe).abc
The -o option is not passed by the default Makefile generated by fpcmake.
But you can make your own Makefile and support it.
More information about the fpc-pascal
mailing list