help-make
[Top][All Lists]
Advanced

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

Re: how to make "gmake" recompile the files based on their dependencies'


From: Derek Clegg
Subject: Re: how to make "gmake" recompile the files based on their dependencies' modified time
Date: Fri, 3 Oct 2008 10:52:38 -0700

On Oct 3, 2008, at 9:51 AM, Greg Chicares wrote:

On 2008-10-03 16:20Z, Derek Clegg wrote:

I have a project with sources and the Makefile in, for example, /src/
project, and I need to place the object files and executables in / dst/
project.  I'm not sure how to "locate the sources from the object
directory" in this case.

That's where VPATH and vpath can help:
 http://make.paulandlesley.org/vpath.html
 http://make.paulandlesley.org/multi-arch.html

This is very helpful.  Thanks very much.

Derek





reply via email to

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