* Mike Frysinger wrote on Thu, Nov 27, 2008 at 08:52:32PM CET: > On Thursday 27 November 2008 14:33:44 Aleksander Morgado wrote: > > >> test_SOURCES = config.h \ > > >> $(srcdir)/src/module//test.c
> 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. Naah. For things that you only ever specify as prerequisites, never as targets, don't spell out the `$(srcdir)/', but let VPATH do its work. Whenever you specify a file anywhere with `$(srcdir)/' as target or prerequisite (and many of Automake's special variables end up being prerequisites to some target), then do it consistently everywhere. HTH. Cheers, Ralf
