makefile 614 B

123456789101112131415161718192021
  1. include ../../android-projects/root.mk
  2. PLATFORM:=android-9 # required because of OpenSL ES
  3. ifeq ($(BT), shared)
  4. all:
  5. ($(MAKE) -f droid-makefile all; \
  6. $(STRIP) --strip-all --remove-section=.comment --remove-section=.note ./lib$(PROJECT)_$(MARCH).$(EXT); \
  7. cp -f ./lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR); \
  8. )
  9. else
  10. all:
  11. ($(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
  12. endif
  13. clean:
  14. ($(MAKE) -f droid-makefile clean)
  15. gdbserver:
  16. $(ANDROID_SDK_ROOT)/tools/adb forward tcp:1234: tcp:1234
  17. $(ANDROID_SDK_ROOT)/tools/adb shell $(EXEC_DIR)/gdbserver :1234 $(EXEC_DIR)/test