platform-android.mk 715 B

1234567891011121314151617181920212223242526272829
  1. # Configuration for Android, for ARM.
  2. # Does platform require symlinks? (it is used to link the openMSX executable
  3. # from a location inside the $PATH, which means it is not applicable for
  4. # Android platform))
  5. USE_SYMLINK:=false
  6. # For Android, a shared library must eventually be build
  7. EXEEXT:=
  8. LIBRARYEXT:=.so
  9. TARGET_FLAGS:=-DANDROID -fPIC
  10. LINK_FLAGS+=-llog
  11. #LDFLAGS+=--no-undefined
  12. # Build a maximum set of components.
  13. # See configure.py for LINK_MODE definition and usage
  14. LINK_MODE:=3RD_STA_GLES
  15. # Automatically select the cross compiler.
  16. ifeq ($(origin CXX),default)
  17. ifeq ($(OPENMSX_TARGET_CPU),arm)
  18. CXX:=armv7a-linux-androideabi18-clang++
  19. else
  20. CXX:=$(OPENMSX_TARGET_CPU)-linux-android-clang++
  21. endif
  22. endif