aboutsummaryrefslogtreecommitdiff
path: root/src/main/native/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/native/Makefile')
-rw-r--r--src/main/native/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/native/Makefile b/src/main/native/Makefile
index 6236e26f3d..5ab1c0868b 100644
--- a/src/main/native/Makefile
+++ b/src/main/native/Makefile
@@ -2,21 +2,21 @@ CC = gcc
#JAVA_HOME = /usr/lib/jvm/java-6-sun
OS_NAME = linux
-CFLAGS = -fPIC -O3 -funroll-all-loops
+CFLAGS += -fPIC -O3 -funroll-all-loops
-SPARK = ../..
+SPARK = ../../..
-LZF = $(SPARK)/third_party/liblzf-3.5
+LZF = $(SPARK)/lib/liblzf-3.5
LIB = libspark_native.so
all: $(LIB)
-spark_compress_lzf_LZF.h: $(SPARK)/build/classes/spark/compress/lzf/LZF.class
+spark_compress_lzf_LZF.h: $(SPARK)/target/scala_2.8.1/classes/spark/compress/lzf/LZF.class
ifeq ($(JAVA_HOME),)
$(error JAVA_HOME is not set)
else
- $(JAVA_HOME)/bin/javah -classpath $(SPARK)/build/classes spark.compress.lzf.LZF
+ $(JAVA_HOME)/bin/javah -classpath $(SPARK)/target/scala_2.8.1/classes spark.compress.lzf.LZF
endif
$(LIB): spark_compress_lzf_LZF.h spark_compress_lzf_LZF.c