aboutsummaryrefslogtreecommitdiff
path: root/src/main/native/Makefile
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2010-11-13 22:46:00 -0800
committerMatei Zaharia <matei@eecs.berkeley.edu>2010-11-13 22:46:00 -0800
commite86b620f9e6d406352140bbb1b931d8bfbafcaf5 (patch)
tree61370aaa196bbcb1f324eec679f6e208260e3378 /src/main/native/Makefile
parent89fcd96702d6aa963192f0221922d2702820048f (diff)
downloadspark-e86b620f9e6d406352140bbb1b931d8bfbafcaf5.tar.gz
spark-e86b620f9e6d406352140bbb1b931d8bfbafcaf5.tar.bz2
spark-e86b620f9e6d406352140bbb1b931d8bfbafcaf5.zip
Fixed some more stuff (Eclispe target and native build)
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