[Top][All Lists]

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

Re: substitution vs expansion in

From: Bob Friesenhahn
Subject: Re: substitution vs expansion in
Date: Tue, 4 Mar 2008 16:43:27 -0600 (CST)

On Tue, 4 Mar 2008, John Calcote wrote:

Thanks Bob and Ralf.

Here's one that's just a little more complex (the last one, I promise).

I have this in my

  registrarTest_SOURCES = registrar.c\


This question is somewhat related to the last one I asked. Where
should I use @top_srcdir@, and where should I use $(top_srcdir)?

You should always use the Makefile form in Makefiles. You should always use relative paths in the source tree (from the Makefile location) to refer to source files from your package (i.e. don't use @top_srcdir@). If your package is built in some other directory, VPATH will be used to tell make where to look for the source files.

I see that Ralph just posted email. Perhaps he will say something entirely different. :-)

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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