aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)