[fpc-pascal] fpcmake question

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Aug 30 08:45:27 CEST 2006


Thanks Darius & Peter.

I took your advice Darius, and just tried it, and it works.... Using
the dirs_<platform> looks more simplified and easier to read than the
variable method. Well, for me at least - and I only needed it in one
place.

Is the FPC Programmer's Manual somewhere in SubVersion, so I could
update the docs to mention this feature?  Or is this privately
maintained by Michaƫl Van Canneyt.
[http://community.freepascal.org:10000/docs-html/prog/prog.html]

Regards,
  - Graeme -


On 8/30/06, Peter Vreman <peter at freepascal.org> wrote:
> > Is the following allowed in a Makefile.fpc
> >
> > [target]
> > units=unit1 unit2 unit3
> > dirs_linux=x11
> > dirs_freebsd=x11
> > dirs_win32=win32
> >
> > Is the above valid?
> >
> > On Linux and FreeBSD, make will also be run in the "x11" directory.
> > On Win32, make will be run in the "win32" directory instead.
>
> Correct



-- 
There's no place like 127.0.0.1


More information about the fpc-pascal mailing list