Rename KOTLINOPTS to KOTLINFLAGS in Makefile.

This commit is contained in:
bʰedoh₂ swé 2024-02-17 16:29:33 +05:00
parent 2b5979bfad
commit 19267a0f87

View File

@ -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: