[fpc-pascal]fpcmake

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue Feb 24 10:28:45 CET 2004


On Tue, 24 Feb 2004, Jon D. Sawyer wrote:

> Is there a way to get FPC Make to enter its target DIRS before compiling
> the units in the current directory?
> 
> I've got a unit that depends on another unit being compiled first that
> is in a sub-directory, even though I list the dirs first Make trys to
> compile the current dir first.

Just enter a rule in the Makefile.fpc:

[Rules]
myunit.ppu: myunit.pp dirname_all

That should do it.

Michael.




More information about the fpc-pascal mailing list