Mercurial > pub > dyncall > bindings
diff java/jdc/Makefile @ 21:40a2c4198016
- working jdc (but with memleaks, currently)
- added example
author | cslag |
---|---|
date | Wed, 30 Mar 2016 23:40:52 +0200 |
parents | 77ca609422f1 |
children | 4ee8d6aa7721 |
line wrap: on
line diff
--- a/java/jdc/Makefile Wed Mar 30 02:40:56 2016 +0200 +++ b/java/jdc/Makefile Wed Mar 30 23:40:52 2016 +0200 @@ -10,10 +10,10 @@ $(SO): org_dyncall_DC.h org_dyncall_DC.c # @@@ support different compilers @@@ esp. on windows - $(CC) -shared -fPIC -o $@ org_dyncall_DC.c + $(CC) -shared -fPIC -o $@ org_dyncall_DC.c -ldyncall_s -ldynload_s org_dyncall_DC.h: org/dyncall/DC.class - javah org.dyncall.DC + javah -jni org.dyncall.DC org/dyncall/DC.class: cd org/dyncall/ && javac DC.java