Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-10

Makefile.fpc and packages dependencies

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thierry B.

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.