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.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to