Re: How to get the Makefile path?

[email protected]
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
   I was using GNU Make version 3.79.1, that does not support
MAKEFILE_LIST. Switching to GNU Make 3.80 solved the problem. Great!

   Thank you very much.

Boris Kolpackov wrote:
> [email protected] writes:
>
> >     I need to get the path to the Makefile being processed by the make
> > executable. I tried to use the $(MFLAGS) variable for that, but it
> > ignores the -f switch. Look this test:
>
> Check the MAKEFILE_LIST variable in the manual.
>
> hth,
> -boris
>
>
> --
> Boris Kolpackov
> Code Synthesis Tools CC
> http://www.codesynthesis.com
> Open-Source, Cross-Platform C++ XML Data Binding
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.