bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double '/' in source path breaks compilation if done from a director


From: Aleksander Morgado
Subject: Re: Double '/' in source path breaks compilation if done from a directory not where the Makefile.am resides
Date: Thu, 27 Nov 2008 20:33:44 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

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?
-Aleksander




reply via email to

[Prev in Thread] Current Thread [Next in Thread]