update at 2022-02-23 09:39:30 by ehlxr

This commit is contained in:
2022-02-23 09:39:30 +08:00
parent 767b834be1
commit 61b8d5338b
4 changed files with 178 additions and 8 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
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