Files
mercury/samples/java_interface/mercury_calls_java/Makefile
Zoltan Somogyi d33273d033 Tell vim not to expand tabs in Makefiles.
This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.

*/Makefile:
*/Mmakefile:
    As above.

tests/hard_coded/.gitignore:
    Don't ignore the purity subdir. This ignore must have been left over
    from when purity.m was a test in hard_coded, not hard_coded/purity,
    and it ignored an executable, not a directory.
2015-01-08 22:07:29 +11:00

20 lines
610 B
Makefile

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# This source file is hereby placed in the public domain.
#-----------------------------------------------------------------------------#
.PHONY: all
all: mercury_main
mercury_main: mercury_main.m my_package/JavaMain.class
mmc --java --make mercury_main --java-classpath .
my_package/JavaMain.class: JavaMain.java
javac JavaMain.java -d .
.PHONY: clean
clean:
$(RM) mercury_main *.err
$(RM) -r Mercury my_package