Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Makefile: add a JAVA_PREFIX variable

  • Loading branch information...
commit 014df172cf00ee6592a232720157465e42e04ae8 1 parent df887eb
@jeremie-koenig authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile
View
7 Makefile
@@ -1,10 +1,11 @@
CC = gcc
CFLAGS = -Wall -g
CPPFLAGS = -D_GNU_SOURCE -I.
-JAVAH = javah
-JAVAC = javac
+JAVA_PREFIX =
+JAVAH = $(JAVA_PREFIX)javah
+JAVAC = $(JAVA_PREFIX)javac
JAVA = LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} java
-JAVADOC = javadoc
+JAVADOC = $(JAVA_PREFIX)javadoc
JAVADOCFLAGS = -use
# Java class files
Please sign in to comment.
Something went wrong with that request. Please try again.