File: Makefile.msvc

package info (click to toggle)
camljava 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: ansic: 844; ml: 336; java: 302; makefile: 97
file content (20 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include ../Makefile.config

CAMLJAVA=`ocamlc -where`/camljava/camljava.jar

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

jnitest.exe: jnitest.ml
	ocamlc -ccopt /Zi -o jnitest.exe -I +camljava jni.cma jnitest.ml

clean::
	rm -f jnitest.exe

.SUFFIXES: .java .class

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

clean::
	rm -f *.cm?