aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-04 23:51:41 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-04 23:51:41 +0200
commit0f68cb34fba58fc83c6992a6f191f4f4f075e168 (patch)
tree8ba29980aa0b71abe4a36f3a3d19c9ccb5e75e12 /Makefile
parentgenerate .h files (diff)
downloadjlibgamma-0f68cb34fba58fc83c6992a6f191f4f4f075e168.tar.gz
jlibgamma-0f68cb34fba58fc83c6992a6f191f4f4f075e168.tar.bz2
jlibgamma-0f68cb34fba58fc83c6992a6f191f4f4f075e168.tar.xz
flags to use to acces jni headers
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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)