From e3d0f924a416365ea12d8ace8569664cbb09dba5 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 20 Jan 2024 00:37:36 +0800 Subject: initial version --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..744e9b1 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +JAVAC = javac + +HEADER_DIR = src/header +JAVA_SRC_DIR = src/java + +JAVA_SRC_FILE = $(JAVA_SRC_DIR)/FileCowCopier.java +JNI_HEADER = $(HEADER_DIR)/com_keuin_kbackupfabric_util_cow_FileCowCopier.h + +all: $(JNI_HEADER) + +$(JNI_HEADER): $(JAVA_SRC_FILE) + $(JAVAC) -h $(HEADER_DIR) $(JAVA_SRC_FILE) + +clean: + rm -rf $(HEADER_DIR) + +.PHONY: all clean -- cgit v1.2.3