makefile 558 B

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