On Thursday 27 November 2008 14:33:44 Aleksander Morgado wrote: > >> Also, if I use $(srcdir) to mark the top level path of the sources, it > >> won't crash. But not sure if this is the best way to have it: > >> > >> test_SOURCES = config.h \ > >> $(srcdir)/src/module//test.c > > > > afaik, this is correct. the issue has nothing to do with multiple > > slashes, but your Makefile is not properly written to handle srcdir != > > builddir. > > But then why does it work when compiling from buildir != srcdir and > single slashes are used?
sorry, i missed that part. as Ralf stated, i imagine that's a bug with how GNU make handles multiple slashes and VPATHs. regardless, i think you should be using $(srcdir) all the time ... but maybe that's just my personal style opinion. -mike
signature.asc
Description: This is a digitally signed message part.
