Re: include Makefile path

2010-08-30 Thread Stanisław Findeisen
On 2010-08-29 00:09, Paul Smith wrote: > On Wed, 2010-08-25 at 10:24 +0200, Stanisław Findeisen wrote: >> Is there any way to know a path (absolute, or relative to the primary >> Makefile) of an included Makefile? In that included Makefile of >> course. > > Look up the documentation for the MAKEFI

Re: include Makefile path

2010-08-28 Thread Paul Smith
On Wed, 2010-08-25 at 10:24 +0200, Stanisław Findeisen wrote: > Is there any way to know a path (absolute, or relative to the primary > Makefile) of an included Makefile? In that included Makefile of > course. Look up the documentation for the MAKEFILE_LIST variable in the GNU make manual. -- --

include Makefile path

2010-08-25 Thread Stanisław Findeisen
Hi Is there any way to know a path (absolute, or relative to the primary Makefile) of an included Makefile? In that included Makefile of course. I was trying to pass it down using include in the recipe of a (static pattern) rule, but apparently include cannot be used that way. :-( I am doing som