Sha256: 4790cd64f707303dd881c6a8d5dcd00666de0ffbf5bb92ffc7aecf711169163a
Contents?: true
Size: 572 Bytes
Versions: 80
Compression:
Stored size: 572 Bytes
Contents
UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) JAVA_HOME=$(shell /usr/libexec/java_home) all: libjdistorm.dylib libjdistorm.dylib: jdistorm.c jdistorm.h gcc -dynamiclib -o libjdistorm.dylib jdistorm.c -I ${JAVA_HOME}/include/ -I ${JAVA_HOME}/include/darwin/ -ldistorm3 endif ifeq ($(UNAME_S),Linux) all: libjdistorm.so jdistorm.o: jdistorm.c jdistorm.h gcc -c jdistorm.c -fPIC -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/linux libjdistorm.so: jdistorm.o gcc -shared -o libjdistorm.so -L${JAVA_HOME}/jre/lib -ldistorm3 jdistorm.o endif
Version data entries
80 entries across 80 versions & 1 rubygems