Re: [fpc-pascal] fpcmake question

2006-08-29 Thread Graeme Geldenhuys
Thanks Darius & Peter. I took your advice Darius, and just tried it, and it works Using the dirs_ looks more simplified and easier to read than the variable method. Well, for me at least - and I only needed it in one place. Is the FPC Programmer's Manual somewhere in SubVersion, so I could u

Re: [fpc-pascal] fpcmake question

2006-08-29 Thread Peter Vreman
> Is the following allowed in a Makefile.fpc > > [target] > units=unit1 unit2 unit3 > dirs_linux=x11 > dirs_freebsd=x11 > dirs_win32=win32 > > I have read the docs and know the "dirs" is a valid setting in the > "target" section. But I have seen somewhere an example where they > included the plat

Re: [fpc-pascal] fpcmake question

2006-08-29 Thread Darius Blaszijk
Can't answer that one for you (perhaps just try?). But I would suggest you try using prerules to set a variable. The LCLPLATFORM is such a variable in the lazarus makefiles; [prerules] # # LCL Platform ifndef LCL_PLATFORM ifneq ($(findstring $(OS_TARGET),win32 win64),) LCL_PLATFORM=win32 else L