Boris Kolpackov wrote:
If you really need to update several targets at once (i.e., they cannot be rewritten as separate rules) then you will need to use implicit rules for this.
Often the need for multiple targets originates from attempts to compile Java. I'd be curious to know if the changes done for 3.81, e.g. second expansion, made it easier or more difficult to possibly implement that feature. Any plan about it? --- For people not familiar with Java language, let me recall that one to several "class" files are generated from a single "java" source. Unfortunately, the '$' character is used as a name separator, so this is one case where recent changes make life more difficult. Further, Java has no header files and function prototypes come from class files themselves. In case of circular dependencies relevant java sources must be compiled with a single command. That clustering can be sorted out while generating dependencies, or it can be specified manually, as for C headers. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
