[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: substitution vs expansion in Makefile.am
From: |
Harlan Stenn |
Subject: |
Re: substitution vs expansion in Makefile.am |
Date: |
Wed, 05 Mar 2008 02:09:11 +0000 |
Erik wrote:
> Harlan Stenn wrote:
>
> > You can use: ../common/mySleep.c in your foo_SOURCES list.
>
> If the sources are in /home/user/src and you go to /home/usr/build
> and do "../src/configure" the above will be completely wrong.
>
> The correct way to do it is to use "$(top_srcdir)/common/mySleep.c"
> which will work under all circumstances.
I have years of experience and many examples that agree with me and not
with you.
The VPATH includes the SRCDIR, and as long as ../common/mySleep.c is
correct from the source tree, it will work in a build tree.
In my experience.
H
- substitution vs expansion in Makefile.am, John Calcote, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Ralf Wildenhues, 2008/03/04
- Re: substitution vs expansion in Makefile.am, John Calcote, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Ralf Wildenhues, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Paul Smith, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Bob Friesenhahn, 2008/03/04
- Re: substitution vs expansion in Makefile.am, John Calcote, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Harlan Stenn, 2008/03/04
- Re: substitution vs expansion in Makefile.am, Erik de Castro Lopo, 2008/03/04
- Re: substitution vs expansion in Makefile.am,
Harlan Stenn <=
- Re: substitution vs expansion in Makefile.am, John Calcote, 2008/03/05
- Re: substitution vs expansion in Makefile.am, John Calcote, 2008/03/05