Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix JNI header dependency

  • Loading branch information...
commit 1142049d1bc1f4301e90fe712ae158857db34aff 1 parent 84ce2dd
@xerial authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
6 Makefile
@@ -19,12 +19,12 @@ CFLAGS:=$(CFLAGS) -I$(LARRAY_SRC_DIR)
LARRAY_HEADER:=$(SRC)/xerial/larray/impl/LArrayNative.h
-$(TARGET)/classes/xerial/larray/impl/LArrayNative.class : $(LARRAY_SRC_DIR)/LArrayNative.java
- $(JAVAC) -d $(TARGET)/classes $<
+$(TARGET)/classes/xerial/larray/impl/%.class : $(LARRAY_SRC_DIR)/%.java
+ $(JAVAC) -sourcepath $(SRC) -d $(TARGET)/classes $<
jni-header: $(LARRAY_HEADER)
-$(LARRAY_HEADER): $(SRC)/xerial/larray/impl/LArrayNative.java $(TARGET)/classes/xerial/larray/impl/LArrayNative.class
+$(LARRAY_HEADER): $(SRC)/xerial/larray/impl/LArrayNative.java $(TARGET)/classes/xerial/larray/impl/LArrayNative.class
@mkdir -p $(TARGET)/classes
$(JAVAH) -classpath $(TARGET)/classes -o $@ xerial.larray.impl.LArrayNative
Please sign in to comment.
Something went wrong with that request. Please try again.