project64/Android/jni/Project64-bridge/Project64-bridge.mk

40 lines
928 B
Makefile

######################
# Project64-bridge
######################
include $(CLEAR_VARS)
LOCAL_PATH := $(JNI_LOCAL_PATH)
SRCDIR := ./Project64-bridge
LOCAL_MODULE := Project64-bridge
LOCAL_STATIC_LIBRARIES := common \
Project64-core \
LOCAL_C_INCLUDES :=
LOCAL_SRC_FILES := \
$(SRCDIR)/JavaBridge.cpp \
$(SRCDIR)/JavaRomList.cpp \
$(SRCDIR)/jniBridge.cpp \
$(SRCDIR)/jniBridgeSettings.cpp \
$(SRCDIR)/NotificationClass.cpp \
$(SRCDIR)/SyncBridge.cpp \
$(SRCDIR)/UISettings.cpp \
LOCAL_CFLAGS := \
$(COMMON_CFLAGS) \
-DUSE_GLES \
LOCAL_CPPFLAGS := $(COMMON_CPPFLAGS)
LOCAL_LDLIBS := \
-llog \
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
# Use for ARM7a:
LOCAL_CFLAGS += -mfloat-abi=softfp
LOCAL_CFLAGS += -mfpu=vfp
endif
include $(BUILD_SHARED_LIBRARY)