reduce APK by 0.3KB

This commit is contained in:
Er2 2022-01-14 19:56:04 +00:00
parent 3e28db45df
commit 9bada7a940

View file

@ -60,6 +60,9 @@ prepare: clean
$(CDX): $(CDX):
# dependencies is here to not re-build on every make # dependencies is here to not re-build on every make
@make -C $(PWD) prepare $(CLSS) @make -C $(PWD) prepare $(CLSS)
@echo Removing R classes
@find $(GEN) -name 'R.class' -exec rm {} \;
@find $(GEN) -name 'R$$*.class' -exec rm {} \;
@$(DX) --dex --output=$@ $(GEN) @$(DX) --dex --output=$@ $(GEN)
$(GEN)/%.class: $(SRC)/%.java $(GEN)/%.class: $(SRC)/%.java