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
_______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make