From 0f68cb34fba58fc83c6992a6f191f4f4f075e168 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Sep 2014 23:51:41 +0200 Subject: flags to use to acces jni headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index bc5c690..c8c4397 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,8 @@ C_WARN = -Wall -Wextra -pedantic JAVA_WARN = -Xlint:all +# Addition flags to use when compiling C code with JNI support +JNI_FLAGS=-I$(JAVA_HOME)/include # Flags to use when compiling C code CC_FLAGS = -std=$(STD) $(C_OPTIMISE) $(CFLAGS) $(PIC) $(CPPFLAGS) $(WARN) -- cgit v1.2.3-70-g09d2