[m-rev.] for review: Mmake support for Java
Julien Fischer
juliensf at students.cs.mu.oz.au
Tue Feb 19 18:28:35 AEDT 2002
On Tue, 19 Feb 2002, Fergus Henderson wrote:
> Index: scripts/Mmake.rules
> ===================================================================
> +
> +# Java back-end
> +
> +# XXX Need to fix this rule to work properly with --use-subdirs,
> +# i.e. put the .class file in the $(classes_subdir) directory
> +# (since javac doesn't have a `-o' option to name the object file,
> +# we may need to use `mv' to move it?)
> +$(classes_subdir)%.class: $(javas_subdir)%.java
> + $(JAVAC) $<
> +
You should be able to use the `-d' option with javac to do this.
Cheers
Julien
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list