"Brad Kemp" <[EMAIL PROTECTED]> writes: > The main makefile includes two small makefiles. > Each make file defines variables used in the targets of the other makefile. > The target names are immediatly expanded which causes the first makefile > not to use the variables defined in the second makefile in its target names.
That's how make works. Rules are expended as they are read. > Is there a better approach? Your example doesn't give any idea what you are trying to achieve so it's hard to say. Maybe if you describe actual problem we may be able to help. -boris _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make