Mercurial > pub > dyncall > bindings
comparison 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 |
comparison
equal
deleted
inserted
replaced
20:77ca609422f1 | 21:40a2c4198016 |
---|---|
8 rm org/dyncall/DC.class || true | 8 rm org/dyncall/DC.class || true |
9 rm $(SO) || true | 9 rm $(SO) || true |
10 | 10 |
11 $(SO): org_dyncall_DC.h org_dyncall_DC.c | 11 $(SO): org_dyncall_DC.h org_dyncall_DC.c |
12 # @@@ support different compilers @@@ esp. on windows | 12 # @@@ support different compilers @@@ esp. on windows |
13 $(CC) -shared -fPIC -o $@ org_dyncall_DC.c | 13 $(CC) -shared -fPIC -o $@ org_dyncall_DC.c -ldyncall_s -ldynload_s |
14 | 14 |
15 org_dyncall_DC.h: org/dyncall/DC.class | 15 org_dyncall_DC.h: org/dyncall/DC.class |
16 javah org.dyncall.DC | 16 javah -jni org.dyncall.DC |
17 | 17 |
18 org/dyncall/DC.class: | 18 org/dyncall/DC.class: |
19 cd org/dyncall/ && javac DC.java | 19 cd org/dyncall/ && javac DC.java |
20 | 20 |
21 .PHONY: build clean | 21 .PHONY: build clean |