[fpc-devel] makefile is looking for source files in the include directory

Peter Vreman peter at freepascal.org
Fri Sep 28 16:07:47 CEST 2007


> Hi,
>
> Why does a makefile generated by fpcmake contain the following lines?
> vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
> vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
>
> It seems to be looking in the include directory for source files.

It is needed for dependencies like:

system.ppu: system.pp syscalls.inc

Where the syscalls.inc is included and can be in a target dependent sub dir.


Peter





More information about the fpc-devel mailing list