help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple targets for a single command


From: Alessandro Vesely
Subject: Re: multiple targets for a single command
Date: Wed, 05 Oct 2005 11:06:02 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]