2009/5/21 Marco van de Voort <mar...@stack.nl>: > > 2 having make set the includedir to a target version. > > The first is dead simple, the second depends on your makefile system.
Ah, so that's the secret. :-) Thanks, I'll try this one. I'm pretty sure I can use some of the built-in path macros in Lazarus IDE to accomplish this. > Note that afaik the main reason FPC does this is because too many ifdefs > make the source unreadable. It is not because of a grudge against ifdefs. An the same reason I want to get rid of IFDEFs. The obfuscate the code. Thanks for the tip. :) Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal