At Monday 12/3/2001 05:09 PM -1000, you wrote:
>Thanks, Paul.  Here's what I wound up doing, and it seems to work.
>Sort of the same idea as you had.  A bit kludgy, and not very robust
>if make is aborted, leaving a .ja file lying around.  On the other
>hand, don't have dependency files to deal with.

You should be able to use the .INTERMEDIATE magic target to
cause gmake to remove the .ja file. See the section of the
GNU make manual titled "Chains of Implicit Rules":

http://www.gnu.org/manual/make/html_node/make_98.html#SEC97


>[Please let me know if anyone has comments.  I appreciated the feedback
>last week, and wanted to let you-all know what I came up with.]

Seems like there must be a better way to do this. My problem
is that you're invoking the jar executable once for each
file. Could you use xargs to manage this for you (with
fewer invocations of jar), instead of using a for loop?

         c



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to