jni_rs/Makefile

12 lines
233 B
Makefile
Raw Permalink Normal View History

2022-02-23 01:39:30 +00:00
java_run: lib
cd java_src && \
javac me/ehlxr/HelloWorld.java && \
java -Djava.library.path=../mylib/target/debug/ me.ehlxr.HelloWorld
.PHONY: lib
javah:
cd java_src && \
javah me.ehlxr.HelloWorld
lib:
cd mylib && cargo build