From 19267a0f87de75e68a0a98a53ed3c5a7ff11d860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sat, 17 Feb 2024 16:29:33 +0500 Subject: [PATCH] Rename KOTLINOPTS to KOTLINFLAGS in Makefile. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0e33248..4ae01bb 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ SRCS := $(wildcard $(SRC_DIR)/*/*.kt) CLS := $(SRCS:$(SRC_DIR)/%.kt=$(OUT_DIR)/%.class) KOTLINC = kotlinc -KOTLINOPT = -cp $(HEADERS) -d $(OUT_DIR) -jvm-target 1.8 +KOTLINFLAGS = -cp $(HEADERS) -d $(OUT_DIR) -jvm-target 1.8 .SUFFIXES: .kt @@ -23,7 +23,7 @@ all: translate $(CLS): $(OUT_DIR)/%.class: $(SRC_DIR)/%.kt mkdir -p build - $(KOTLINC) $(KOTLINOPT) $< + $(KOTLINC) $(KOTLINFLAGS) $< rm -rf build/META-INF/ clean: