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: Roumen Petrov
Subject: Re: Double '/' in source path breaks compilation if done from a directory not where the Makefile.am resides
Date: Wed, 26 Nov 2008 01:25:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081114 SeaMonkey/1.1.13

Ralf Wildenhues wrote:
Hello Aleksander,

* Aleksander Morgado wrote on Tue, Nov 25, 2008 at 11:16:09AM CET:
Not sure if this is a bug in automake, in make itself, or in my code,
but anyway I'll explain what happens.

Not flattening multiple consecutive slashes in prerequisite names for
VPATH searches is a GNU make limitation, AFAICS undocumented.
Not coping with this limitation is arguably a bug in your code.

Cheers,
Ralf

The reported issue is unexpected since:
$ echo 'int main() { return(0);}' > foo.c
$ cat Makefile
.////.////boo: foo.c
        $(CC) -o $@ $<
$ make
cc -o boo foo.c

Roumen




reply via email to

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