Rename KOTLINOPTS to KOTLINFLAGS in Makefile.
This commit is contained in:
parent
2b5979bfad
commit
19267a0f87
4
Makefile
4
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:
|
||||
|
Loading…
Reference in New Issue
Block a user