Hi,

I try to understand how Makefile.fpc work on indy project, I read "using
fpcmake" in freepascal "Programmer's guide" but I am out of luck:

I have two directories at the same deep level:

--Core
--System

Each contains a package. Core needs System. Programmer's guide "E.4.8
Requires" says:

> packages:  Other packages that should be compiled before this package can be 
> compiled

So I have

[require]
packages=indysystemfpc

and:

> packagedir:  List of package directories.  The packages in these directories 
> will be made as well
> before making the current package.

So I have now:

[require]
packages=indysystemfpc
packagedir=../System

But I get  *Error: Target "linux", package "indysystemfpc" not found

Is really 'packagedir' a search path for 'packages'?

Obviously looking at 'fpcmake -w -Tall -v' output it does not look in
this directory.

Thierry B.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to