Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-09

makefile is looking for source files in the include directory

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

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.

Vincent

Reply by email

Peter Vreman
to Vincent Snijders
Show quoted text 7 lines
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

Reply by email