[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
include Makefile path
From: |
Stanisław Findeisen |
Subject: |
include Makefile path |
Date: |
Wed, 25 Aug 2010 10:24:24 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.24 (X11/20100328) |
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 some recursive Makefile processing on directory tree. So no,
I don't want to write O(n) variable declarations/whatever for this, I
just want to write O(1).
STF
http://eisenbits.homelinux.net/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A
signature.asc
Description: OpenPGP digital signature
- include Makefile path,
Stanisław Findeisen <=