Source

ojacare / camljava-0.3 / test_gc / Makefile

Full commit
include ../Makefile.config

CAMLJAVA=$(shell ocamlfind printconf destdir)/camljava/camljava.jar

all: jnitest Test.class Testcb.class
	CLASSPATH=. ./jnitest

jnitest: jnitest.ml
	ocamlfind ocamlc -package camljava -g -o jnitest jni.cma jnitest.ml

clean::
	rm -f jnitest

.SUFFIXES: .java .class

.java.class:
	$(JAVAC) -classpath $(CAMLJAVA):. $*.java

clean::
	rm -f *.cm?
	rm -f *.class