Compare commits
No commits in common. "30e9abf0ee0c51aa146cc07b4bd205f41bb62520" and "8ac5ff7b0ea4d51bb356d1c74d6cfc5bd222d7f3" have entirely different histories.
30e9abf0ee
...
8ac5ff7b0e
10
Makefile
10
Makefile
@ -6,6 +6,8 @@ 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)
|
||||||
@ -29,11 +31,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 $(HEADERS) -keepclassmembers class $(CLASSNAME) { public \<methods\> ';' } -keep public class $(CLASSNAME)
|
-$(RETROTRANSLATOR) -srcjar jars/classes.jar -destjar jars/result.jar
|
||||||
|
jar -umf META-INF/MANIFEST.MF jars/result.jar -C res .
|
||||||
|
|
||||||
release jars/release.jar: jars/result.jar
|
release jars/release.jar: jars/result.jar
|
||||||
-$(RETROTRANSLATOR) -srcjar jars/result.jar -destjar jars/release.jar
|
proguard -include proguard.conf -libraryjars $(PHEADERS) -keepclassmembers class $(CLASSNAME) { public \<methods\> ';' } -keep public class $(CLASSNAME)
|
||||||
$(JAVA_HOME)/bin/jar -umf META-INF/MANIFEST.MF jars/release.jar -C res .
|
|
||||||
|
|
||||||
run:
|
run:
|
||||||
$(EMULATOR) jars/release.jar
|
$(EMULATOR) jars/result.jar
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-injars jars/classes.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
|
-injars jars/result.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
|
||||||
-outjars jars/result.jar
|
-outjars jars/release.jar
|
||||||
-dontwarn org.jetbrains.**
|
-dontwarn org.jetbrains.**
|
||||||
-dontwarn net.sf.retrotranslator.**
|
-dontwarn net.sf.retrotranslator.**
|
||||||
-dontwarn edu.emory.mathcs.backport.**
|
-dontwarn edu.emory.mathcs.backport.**
|
||||||
|
Loading…
Reference in New Issue
Block a user