diff options
author | Joshua Portway <josh@stain.org> | 2014-04-15 01:17:40 +0100 |
---|---|---|
committer | Joshua Portway <josh@stain.org> | 2014-04-15 01:17:40 +0100 |
commit | 5064c8128fac7d70cc87154edbb2b7773f978e29 (patch) | |
tree | 68f0de83dabf3a3499c6f2ba0def773a77fadd2c /flow-native | |
parent | 512f82a3daead0c24ffc519dc386e2aa3cd0fb9d (diff) | |
download | akka-serial-5064c8128fac7d70cc87154edbb2b7773f978e29.tar.gz akka-serial-5064c8128fac7d70cc87154edbb2b7773f978e29.tar.bz2 akka-serial-5064c8128fac7d70cc87154edbb2b7773f978e29.zip |
added a Mac makefile. It's crude, but it works.
Diffstat (limited to 'flow-native')
-rw-r--r-- | flow-native/mac/Makefile | 12 | ||||
-rw-r--r-- | flow-native/mac/Readme | 2 |
2 files changed, 14 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 diff --git a/flow-native/mac/Readme b/flow-native/mac/Readme new file mode 100644 index 0000000..6df640b --- /dev/null +++ b/flow-native/mac/Readme @@ -0,0 +1,2 @@ +You should be able to build on OSX by just running make in this directory. +The libFlow3.dylib file produced will have to be copied manually into the classpath of your project
\ No newline at end of file |