aboutsummaryrefslogtreecommitdiff
path: root/flow-native/mac/Makefile
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-04-15 16:50:42 +0200
committerJakob Odersky <jodersky@gmail.com>2014-04-15 16:50:42 +0200
commit416aacf8940ba0f281a3d7afb90f27b3ae99e664 (patch)
treecbd467c3d79b250ba062605ad1cb80ccfaab4f92 /flow-native/mac/Makefile
parent5f1489f14bc6e23f8f8ebf89db1f85a98660f347 (diff)
parent5064c8128fac7d70cc87154edbb2b7773f978e29 (diff)
downloadakka-serial-416aacf8940ba0f281a3d7afb90f27b3ae99e664.tar.gz
akka-serial-416aacf8940ba0f281a3d7afb90f27b3ae99e664.tar.bz2
akka-serial-416aacf8940ba0f281a3d7afb90f27b3ae99e664.zip
Merge pull request #7 from jportway/2.0
added a Mac makefile. It's crude, but it works.
Diffstat (limited to 'flow-native/mac/Makefile')
-rw-r--r--flow-native/mac/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/flow-native/mac/Makefile b/flow-native/mac/Makefile
new file mode 100644
index 0000000..0f73b68
--- /dev/null
+++ b/flow-native/mac/Makefile
@@ -0,0 +1,12 @@
+# Include common settings
+include ../common.mk
+
+JAVALIB=lib$(NAME)$(MAJOR).dylib
+
+all: $(JAVALIB)
+
+$(JAVALIB):
+ gcc -dynamiclib -I$(JAVA_HOME)/include/darwin -I$(JAVA_HOME)/include -I../include ../flow_jni.c ../posix/flow.c -o $(JAVALIB) -m64
+
+clean:
+ -del $(JAVALIB) \ No newline at end of file