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)
|
CLS := $(SRCS:$(SRC_DIR)/%.kt=$(OUT_DIR)/%.class)
|
||||||
|
|
||||||
KOTLINC = kotlinc
|
KOTLINC = kotlinc
|
||||||
KOTLINOPT = -cp $(HEADERS) -d $(OUT_DIR) -jvm-target 1.8
|
KOTLINFLAGS = -cp $(HEADERS) -d $(OUT_DIR) -jvm-target 1.8
|
||||||
|
|
||||||
.SUFFIXES: .kt
|
.SUFFIXES: .kt
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ all: translate
|
|||||||
|
|
||||||
$(CLS): $(OUT_DIR)/%.class: $(SRC_DIR)/%.kt
|
$(CLS): $(OUT_DIR)/%.class: $(SRC_DIR)/%.kt
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
$(KOTLINC) $(KOTLINOPT) $<
|
$(KOTLINC) $(KOTLINFLAGS) $<
|
||||||
rm -rf build/META-INF/
|
rm -rf build/META-INF/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user