jocaml/Makefile

16 lines
230 B
Makefile
Raw Normal View History

2021-07-31 21:29:12 +00:00
.PHONY: all run clean
all: Jocaml.class
run: Jocaml.class test.byte
java Jocaml test.byte
clean:
$(RM) *.class *.cmi *.byte *.cmo
test.byte: test.ml
ocamlfind ocamlc -linkpkg -o test.byte test.ml
%.class: %.java
javac $<