reduce APK by 0.3KB
This commit is contained in:
parent
3e28db45df
commit
9bada7a940
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue