This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possibly silly INCLUDEDIR question


>>> "Michael" == Michael Still <mikal@stillhq.com> writes:

[...]

 Michael> I can't just add .. to the include path, because this
 Michael> doesn't deal with the case when the code is built
 Michael> somewhere else on disk.

Use `$(srcdir)/..' instead of `..'

  INCLUDES = -I$(srcdir)/..

With you layout this is also equivalant to

  INCLUDES = -I$(top_srcdir)

-- 
Alexandre Duret-Lutz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]