mirror of
https://github.com/libretro/RetroArch
synced 2025-01-09 21:48:32 +00:00
26 lines
506 B
Makefile
26 lines
506 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := retro-test-gl
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
LOCAL_CFLAGS += -DANDROID_ARM
|
|
LOCAL_ARM_MODE := arm
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),x86)
|
|
LOCAL_CFLAGS += -DANDROID_X86
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),mips)
|
|
LOCAL_CFLAGS += -DANDROID_MIPS
|
|
endif
|
|
|
|
LOCAL_SRC_FILES += $(wildcard ../*.c) ../glsym/rglgen.c ../glsym/glsym_es2.c
|
|
LOCAL_CFLAGS += -O2 -Wall -std=gnu99 -ffast-math -DGLES -DHAVE_OPENGLES2
|
|
LOCAL_LDLIBS += -lGLESv2
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|