help-make
[Top][All Lists]
Advanced

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

Re: How to get the absolute path of a makefile?


From: Philip Guenther
Subject: Re: How to get the absolute path of a makefile?
Date: Sun, 3 May 2009 17:03:18 -0700

On Sun, May 3, 2009 at 9:52 AM, Peng Yu <address@hidden> wrote:
> I am wondering if there is a way to get the path of the directory
> where a makefile is in (either the absolute path or the relative path
> to the current directory). Can somebody help me?

A search of the GNU make info pages for "current working directory"
turns up three hits, two of which give the answer to your question.


Philip Guenther




reply via email to

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