Permalink
Browse files

Makefile: add a JAVA_PREFIX variable

  • Loading branch information...
1 parent df887eb commit 014df172cf00ee6592a232720157465e42e04ae8 @jeremie-koenig committed Aug 15, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile
View
@@ -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

0 comments on commit 014df17

Please sign in to comment.