Some changes.
This commit is contained in:
parent
89fa729c1b
commit
30e9abf0ee
6
Makefile
6
Makefile
@ -6,8 +6,6 @@ SRC_DIR := src
|
|||||||
|
|
||||||
RES_DIR := res
|
RES_DIR := res
|
||||||
|
|
||||||
PHEADERS = $(HEADERS):$(JAVA_HOME)/jre/lib/rt.jar
|
|
||||||
|
|
||||||
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
|
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
|
||||||
|
|
||||||
SRCS := $(call rwildcard,$(SRC_DIR),*.kt)
|
SRCS := $(call rwildcard,$(SRC_DIR),*.kt)
|
||||||
@ -31,11 +29,11 @@ clean:
|
|||||||
rm -rf jars/
|
rm -rf jars/
|
||||||
|
|
||||||
jars/result.jar: jars/classes.jar
|
jars/result.jar: jars/classes.jar
|
||||||
proguard -include proguard.conf -libraryjars $(PHEADERS) -keepclassmembers class $(CLASSNAME) { public \<methods\> ';' } -keep public class $(CLASSNAME)
|
proguard -include proguard.conf -libraryjars $(HEADERS) -keepclassmembers class $(CLASSNAME) { public \<methods\> ';' } -keep public class $(CLASSNAME)
|
||||||
|
|
||||||
release jars/release.jar: jars/result.jar
|
release jars/release.jar: jars/result.jar
|
||||||
-$(RETROTRANSLATOR) -srcjar jars/result.jar -destjar jars/release.jar
|
-$(RETROTRANSLATOR) -srcjar jars/result.jar -destjar jars/release.jar
|
||||||
jar -umf META-INF/MANIFEST.MF jars/release.jar -C res .
|
$(JAVA_HOME)/bin/jar -umf META-INF/MANIFEST.MF jars/release.jar -C res .
|
||||||
|
|
||||||
run:
|
run:
|
||||||
$(EMULATOR) jars/release.jar
|
$(EMULATOR) jars/release.jar
|
||||||
|
Loading…
Reference in New Issue
Block a user