mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2025-02-07 01:46:06 +00:00
Create Makefile.common
This commit is contained in:
parent
d53e9b4a63
commit
9df056ef2d
57
Makefile
57
Makefile
@ -1,10 +1,7 @@
|
||||
DEBUG = 0
|
||||
FRONTEND_SUPPORTS_RGB565 = 1
|
||||
|
||||
MEDNAFEN_DIR := mednafen
|
||||
MEDNAFEN_LIBRETRO_DIR := mednafen-libretro
|
||||
NEED_TREMOR = 0
|
||||
LIBRETRO_SOURCES :=
|
||||
CORE_DIR := .
|
||||
HAVE_GRIFFIN = 0
|
||||
|
||||
ifeq ($(platform),)
|
||||
@ -27,17 +24,15 @@ ifeq ($(findstring Haiku,$(shell uname -a)),)
|
||||
PTHREAD_FLAGS = -pthread
|
||||
endif
|
||||
endif
|
||||
NEED_CD = 1
|
||||
NEED_TREMOR = 1
|
||||
NEED_BPP = 32
|
||||
WANT_NEW_API = 1
|
||||
NEED_DEINTERLACER = 1
|
||||
NEED_THREADING = 1
|
||||
CORE_DEFINE := -DWANT_PSX_EMU
|
||||
CORE_DIR := $(MEDNAFEN_DIR)/psx
|
||||
TARGET_NAME := mednafen_psx_libretro
|
||||
|
||||
CORE_INCDIR := -I$(CORE_DIR)
|
||||
NEED_CD = 1
|
||||
NEED_TREMOR = 1
|
||||
NEED_BPP = 32
|
||||
WANT_NEW_API = 1
|
||||
NEED_DEINTERLACER = 1
|
||||
NEED_THREADING = 1
|
||||
CORE_DEFINE := -DWANT_PSX_EMU
|
||||
TARGET_NAME := mednafen_psx_libretro
|
||||
|
||||
ifeq ($(platform), unix)
|
||||
TARGET := $(TARGET_NAME).so
|
||||
@ -224,7 +219,7 @@ else
|
||||
EXTRA_GCC_FLAGS := -g
|
||||
endif
|
||||
|
||||
OBJECTS := $(SOURCES:.cpp=.o) $(SOURCES_C:.c=.o)
|
||||
OBJECTS := $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
@ -236,40 +231,12 @@ endif
|
||||
|
||||
LDFLAGS += $(fpic) $(SHARED)
|
||||
FLAGS += $(fpic) $(NEW_GCC_FLAGS)
|
||||
FLAGS += -I. -Imednafen -Imednafen/include -Imednafen/intl -Imednafen/hw_misc -Imednafen/hw_sound -Imednafen/hw_cpu $(CORE_INCDIR) $(EXTRA_CORE_INCDIR)
|
||||
FLAGS += $(INC_FLAGS)
|
||||
|
||||
FLAGS += $(ENDIANNESS_DEFINES) -DSIZEOF_DOUBLE=8 $(WARNINGS) -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT $(CORE_DEFINE) -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ $(EXTRA_INCLUDES) $(SOUND_DEFINE) -D__STDC_CONSTANT_MACROS
|
||||
|
||||
ifeq ($(IS_X86), 1)
|
||||
FLAGS += -DARCH_X86
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 8)
|
||||
FLAGS += -DWANT_8BPP
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 16)
|
||||
FLAGS += -DWANT_16BPP
|
||||
endif
|
||||
|
||||
ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
|
||||
FLAGS += -DFRONTEND_SUPPORTS_RGB565
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 32)
|
||||
FLAGS += -DWANT_32BPP
|
||||
endif
|
||||
|
||||
ifeq ($(WANT_NEW_API), 1)
|
||||
FLAGS += -DWANT_NEW_API
|
||||
endif
|
||||
|
||||
ifeq ($(NO_COMPUTED_GOTO), 1)
|
||||
FLAGS += -DNO_COMPUTED_GOTO
|
||||
endif
|
||||
|
||||
CXXFLAGS += $(FLAGS)
|
||||
CFLAGS += $(FLAGS)
|
||||
CFLAGS += $(FLAGS)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
ifeq ($(STATIC_LINKING), 1)
|
||||
|
113
Makefile.common
113
Makefile.common
@ -1,48 +1,85 @@
|
||||
SOURCES_CXX :=
|
||||
SOURCES_C :=
|
||||
|
||||
MEDNAFEN_DIR := $(CORE_DIR)/mednafen
|
||||
CORE_EMU_DIR := $(MEDNAFEN_DIR)/psx
|
||||
|
||||
INCFLAGS := -I$(CORE_DIR) -I$(MEDNAFEN_DIR) -I$(MEDNAFEN_DIR)/include -I$(MEDNAFEN_DIR)/intl -I$(MEDNAFEN_DIR)/hw_sound -I$(MEDNAFEN_DIR)/hw_cpu -I$(MEDNAFEN_DIR)/hw_misc
|
||||
|
||||
ifeq ($(HAVE_GRIFFIN),1)
|
||||
CORE_SOURCES := beetle_psx_griffin.cpp \
|
||||
$(CORE_DIR)/dma.cpp \
|
||||
$(CORE_DIR)/sio.cpp
|
||||
SOURCES_CXX += beetle_psx_griffin.cpp \
|
||||
$(CORE_EMU_DIR)/dma.cpp \
|
||||
$(CORE_EMU_DIR)/sio.cpp
|
||||
else
|
||||
CORE_SOURCES := $(CORE_DIR)/irq.cpp \
|
||||
$(CORE_DIR)/timer.cpp \
|
||||
$(CORE_DIR)/dma.cpp \
|
||||
$(CORE_DIR)/frontio.cpp \
|
||||
$(CORE_DIR)/sio.cpp \
|
||||
$(CORE_DIR)/cpu.cpp \
|
||||
$(CORE_DIR)/gte.cpp \
|
||||
$(CORE_DIR)/dis.cpp \
|
||||
$(CORE_DIR)/cdc.cpp \
|
||||
$(CORE_DIR)/spu.cpp \
|
||||
$(CORE_DIR)/gpu.cpp \
|
||||
$(CORE_DIR)/mdec.cpp \
|
||||
$(CORE_DIR)/input/gamepad.cpp \
|
||||
$(CORE_DIR)/input/dualanalog.cpp \
|
||||
$(CORE_DIR)/input/dualshock.cpp \
|
||||
$(CORE_DIR)/input/justifier.cpp \
|
||||
$(CORE_DIR)/input/guncon.cpp \
|
||||
$(CORE_DIR)/input/negcon.cpp \
|
||||
$(CORE_DIR)/input/memcard.cpp \
|
||||
$(CORE_DIR)/input/multitap.cpp \
|
||||
$(CORE_DIR)/input/mouse.cpp
|
||||
SOURCES_CXX += $(CORE_EMU_DIR)/irq.cpp \
|
||||
$(CORE_EMU_DIR)/timer.cpp \
|
||||
$(CORE_EMU_DIR)/dma.cpp \
|
||||
$(CORE_EMU_DIR)/frontio.cpp \
|
||||
$(CORE_EMU_DIR)/sio.cpp \
|
||||
$(CORE_EMU_DIR)/cpu.cpp \
|
||||
$(CORE_EMU_DIR)/gte.cpp \
|
||||
$(CORE_EMU_DIR)/dis.cpp \
|
||||
$(CORE_EMU_DIR)/cdc.cpp \
|
||||
$(CORE_EMU_DIR)/spu.cpp \
|
||||
$(CORE_EMU_DIR)/gpu.cpp \
|
||||
$(CORE_EMU_DIR)/mdec.cpp \
|
||||
$(CORE_EMU_DIR)/input/gamepad.cpp \
|
||||
$(CORE_EMU_DIR)/input/dualanalog.cpp \
|
||||
$(CORE_EMU_DIR)/input/dualshock.cpp \
|
||||
$(CORE_EMU_DIR)/input/justifier.cpp \
|
||||
$(CORE_EMU_DIR)/input/guncon.cpp \
|
||||
$(CORE_EMU_DIR)/input/negcon.cpp \
|
||||
$(CORE_EMU_DIR)/input/memcard.cpp \
|
||||
$(CORE_EMU_DIR)/input/multitap.cpp \
|
||||
$(CORE_EMU_DIR)/input/mouse.cpp
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_THREADING), 1)
|
||||
FLAGS += -DWANT_THREADING
|
||||
THREAD_SOURCES += threads.c
|
||||
SOURCES_C += $(CORE_DIR)/threads.c
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_CRC32), 1)
|
||||
FLAGS += -DWANT_CRC32
|
||||
CRC32_SOURCES += scrc32.c
|
||||
SOURCES_C += $(CORE_DIR)/scrc32.c
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_DEINTERLACER), 1)
|
||||
FLAGS += -DNEED_DEINTERLACER
|
||||
endif
|
||||
|
||||
ifeq ($(IS_X86), 1)
|
||||
FLAGS += -DARCH_X86
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 8)
|
||||
FLAGS += -DWANT_8BPP
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 16)
|
||||
FLAGS += -DWANT_16BPP
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 32)
|
||||
FLAGS += -DWANT_32BPP
|
||||
endif
|
||||
|
||||
ifeq ($(WANT_NEW_API), 1)
|
||||
FLAGS += -DWANT_NEW_API
|
||||
endif
|
||||
|
||||
ifeq ($(NO_COMPUTED_GOTO), 1)
|
||||
FLAGS += -DNO_COMPUTED_GOTO
|
||||
endif
|
||||
|
||||
ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
|
||||
FLAGS += -DFRONTEND_SUPPORTS_RGB565
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(NEED_CD), 1)
|
||||
ifneq ($(HAVE_GRIFFIN),1)
|
||||
CDROM_SOURCES += $(MEDNAFEN_DIR)/cdrom/CDAccess.cpp \
|
||||
SOURCES_CXX += $(MEDNAFEN_DIR)/cdrom/CDAccess.cpp \
|
||||
$(MEDNAFEN_DIR)/cdrom/CDAccess_Image.cpp \
|
||||
$(MEDNAFEN_DIR)/cdrom/CDAccess_CCD.cpp \
|
||||
$(MEDNAFEN_DIR)/cdrom/CDUtility.cpp \
|
||||
@ -59,13 +96,13 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_TREMOR), 1)
|
||||
TREMOR_SRC := $(wildcard $(MEDNAFEN_DIR)/tremor/*.c)
|
||||
SOURCES_C += $(wildcard $(MEDNAFEN_DIR)/tremor/*.c)
|
||||
FLAGS += -DNEED_TREMOR
|
||||
endif
|
||||
|
||||
|
||||
ifneq ($(HAVE_GRIFFIN), 1)
|
||||
MEDNAFEN_SOURCES := \
|
||||
SOURCES_CXX += \
|
||||
$(MEDNAFEN_DIR)/error.cpp \
|
||||
$(MEDNAFEN_DIR)/settings.cpp \
|
||||
$(MEDNAFEN_DIR)/general.cpp \
|
||||
@ -74,26 +111,20 @@ MEDNAFEN_SOURCES := \
|
||||
$(MEDNAFEN_DIR)/MemoryStream.cpp \
|
||||
$(MEDNAFEN_DIR)/Stream.cpp \
|
||||
$(MEDNAFEN_DIR)/state.cpp \
|
||||
$(CDROM_SOURCES) \
|
||||
$(MEDNAFEN_DIR)/mempatcher.cpp \
|
||||
$(MEDNAFEN_DIR)/video/Deinterlacer.cpp \
|
||||
$(MEDNAFEN_DIR)/video/surface.cpp \
|
||||
$(MEDNAFEN_DIR)/md5.cpp
|
||||
$(MEDNAFEN_DIR)/md5.cpp \
|
||||
$(CORE_DIR)/libretro.cpp
|
||||
|
||||
MEDNAFEN_SOURCES_C += \
|
||||
SOURCES_C += \
|
||||
$(MEDNAFEN_DIR)/file.c \
|
||||
$(MEDNAFEN_DIR)/mednafen-endian.c
|
||||
|
||||
LIBRETRO_SOURCES += libretro.cpp
|
||||
endif
|
||||
|
||||
TRIO_SOURCES += $(MEDNAFEN_DIR)/trio/trio.c \
|
||||
$(MEDNAFEN_DIR)/trio/triostr.c
|
||||
SOURCES_C += $(MEDNAFEN_DIR)/trio/trio.c \
|
||||
$(MEDNAFEN_DIR)/trio/triostr.c
|
||||
|
||||
ifeq ($(HAVE_GRIFFIN), 1)
|
||||
SOURCES_C := beetle_psx_griffin_c.c
|
||||
else
|
||||
SOURCES_C := $(TREMOR_SRC) $(LIBRETRO_SOURCES_C) $(TRIO_SOURCES) $(THREAD_SOURCES) $(CRC32_SOURCES) $(MEDNAFEN_SOURCES_C)
|
||||
SOURCES_C += beetle_psx_griffin_c.c
|
||||
endif
|
||||
|
||||
SOURCES := $(LIBRETRO_SOURCES) $(CORE_SOURCES) $(MEDNAFEN_SOURCES) $(HW_CPU_SOURCES) $(HW_MISC_SOURCES) $(HW_SOUND_SOURCES) $(HW_VIDEO_SOURCES)
|
||||
|
148
jni/Android.mk
148
jni/Android.mk
@ -6,164 +6,52 @@ FAST = 1
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CXXFLAGS += -DANDROID_ARM
|
||||
LOCAL_CFLAGS +=-DANDROID_ARM
|
||||
ANDROID_FLAGS := -DANDROID_ARM
|
||||
LOCAL_ARM_MODE := arm
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CXXFLAGS += -DANDROID_X86
|
||||
LOCAL_CFLAGS += -DANDROID_X86
|
||||
ANDROID_FLAGS := -DANDROID_X86
|
||||
IS_X86 = 1
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),mips)
|
||||
LOCAL_CXXFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
ANDROID_FLAGS := -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
endif
|
||||
|
||||
MEDNAFEN_DIR := ../mednafen
|
||||
MEDNAFEN_LIBRETRO_DIR := ..
|
||||
LOCAL_CXXFLAGS += $(ANDROID_FLAGS)
|
||||
LOCAL_CFLAGS += $(ANDROID_FLAGS)
|
||||
|
||||
CORE_DIR := ..
|
||||
LOCAL_MODULE := libretro
|
||||
|
||||
PTHREAD_FLAGS = -pthread
|
||||
NEED_CD = 1
|
||||
NEED_BPP = 32
|
||||
WANT_NEW_API = 1
|
||||
NEED_DEINTERLACER = 1
|
||||
NEED_THREADING = 1
|
||||
NEED_TREMOR = 1
|
||||
CORE_DEFINE := -DWANT_PSX_EMU
|
||||
CORE_DIR := $(MEDNAFEN_DIR)/psx
|
||||
CORE_SOURCES := $(CORE_DIR)/irq.cpp \
|
||||
$(CORE_DIR)/timer.cpp \
|
||||
$(CORE_DIR)/dma.cpp \
|
||||
$(CORE_DIR)/frontio.cpp \
|
||||
$(CORE_DIR)/sio.cpp \
|
||||
$(CORE_DIR)/cpu.cpp \
|
||||
$(CORE_DIR)/gte.cpp \
|
||||
$(CORE_DIR)/dis.cpp \
|
||||
$(CORE_DIR)/cdc.cpp \
|
||||
$(CORE_DIR)/spu.cpp \
|
||||
$(CORE_DIR)/gpu.cpp \
|
||||
$(CORE_DIR)/mdec.cpp \
|
||||
$(CORE_DIR)/input/gamepad.cpp \
|
||||
$(CORE_DIR)/input/dualanalog.cpp \
|
||||
$(CORE_DIR)/input/dualshock.cpp \
|
||||
$(CORE_DIR)/input/justifier.cpp \
|
||||
$(CORE_DIR)/input/guncon.cpp \
|
||||
$(CORE_DIR)/input/negcon.cpp \
|
||||
$(CORE_DIR)/input/memcard.cpp \
|
||||
$(CORE_DIR)/input/multitap.cpp \
|
||||
$(CORE_DIR)/input/mouse.cpp
|
||||
PTHREAD_FLAGS = -pthread
|
||||
NEED_CD = 1
|
||||
NEED_BPP = 32
|
||||
WANT_NEW_API = 1
|
||||
NEED_DEINTERLACER = 1
|
||||
NEED_THREADING = 1
|
||||
NEED_TREMOR = 1
|
||||
CORE_DEFINE := -DWANT_PSX_EMU
|
||||
|
||||
TARGET_NAME := mednafen_psx_libretro
|
||||
|
||||
CORE_INCDIR := $(CORE_DIR)
|
||||
|
||||
ifeq ($(NEED_THREADING), 1)
|
||||
FLAGS += -DWANT_THREADING
|
||||
THREAD_SOURCES += $(MEDNAFEN_LIBRETRO_DIR)/threads.c
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_CRC32), 1)
|
||||
FLAGS += -DWANT_CRC32
|
||||
CRC32_SOURCES += $(MEDNAFEN_LIBRETRO_DIR)/scrc32.c
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_DEINTERLACER), 1)
|
||||
FLAGS += -DNEED_DEINTERLACER
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_CD), 1)
|
||||
CDROM_SOURCES := $(MEDNAFEN_DIR)/cdrom/CDAccess.cpp $(MEDNAFEN_DIR)/cdrom/CDAccess_Image.cpp $(MEDNAFEN_DIR)/cdrom/CDAccess_CCD.cpp $(MEDNAFEN_DIR)/cdrom/CDUtility.cpp $(MEDNAFEN_DIR)/cdrom/lec.cpp $(MEDNAFEN_DIR)/cdrom/SimpleFIFO.cpp $(MEDNAFEN_DIR)/cdrom/audioreader.cpp $(MEDNAFEN_DIR)/cdrom/galois.cpp $(MEDNAFEN_DIR)/cdrom/recover-raw.cpp $(MEDNAFEN_DIR)/cdrom/l-ec.cpp $(MEDNAFEN_DIR)/cdrom/cdromif.cpp $(MEDNAFEN_DIR)/cdrom/crc32.cpp
|
||||
FLAGS += -DNEED_CD
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_TREMOR), 1)
|
||||
TREMOR_SRC := $(wildcard $(MEDNAFEN_DIR)/tremor/*.c)
|
||||
FLAGS += -DNEED_TREMOR
|
||||
endif
|
||||
|
||||
|
||||
MEDNAFEN_SOURCES := $(MEDNAFEN_DIR)/error.cpp \
|
||||
$(MEDNAFEN_DIR)/settings.cpp \
|
||||
$(MEDNAFEN_DIR)/general.cpp \
|
||||
$(MEDNAFEN_DIR)/FileWrapper.cpp \
|
||||
$(MEDNAFEN_DIR)/FileStream.cpp \
|
||||
$(MEDNAFEN_DIR)/MemoryStream.cpp \
|
||||
$(MEDNAFEN_DIR)/Stream.cpp \
|
||||
$(MEDNAFEN_DIR)/state.cpp \
|
||||
$(MEDNAFEN_DIR)/mempatcher.cpp \
|
||||
$(MEDNAFEN_DIR)/video/Deinterlacer.cpp \
|
||||
$(MEDNAFEN_DIR)/video/surface.cpp \
|
||||
$(MEDNAFEN_DIR)/md5.cpp
|
||||
|
||||
MEDNAFEN_SOURCES_C := \
|
||||
$(MEDNAFEN_DIR)/file.c \
|
||||
$(MEDNAFEN_DIR)/mednafen-endian.c
|
||||
|
||||
LIBRETRO_SOURCES := $(MEDNAFEN_LIBRETRO_DIR)/libretro.cpp
|
||||
|
||||
SOURCES_C := $(TREMOR_SRC) $(THREAD_SOURCES) $(LIBRETRO_SOURCES_C) $(MEDNAFEN_DIR)/trio/trio.c $(MEDNAFEN_DIR)/trio/triostr.c $(CRC32_SOURCES) $(MEDNAFEN_SOURCES_C)
|
||||
|
||||
LOCAL_SRC_FILES += $(LIBRETRO_SOURCES) $(CORE_SOURCES) $(MEDNAFEN_SOURCES) $(CDROM_SOURCES) $(SCSI_CD_SOURCES) $(HW_CPU_SOURCES) $(HW_MISC_SOURCES) $(HW_SOUND_SOURCES) $(HW_VIDEO_SOURCES) $(SOURCES_C) $(CORE_CD_SOURCES)
|
||||
|
||||
WARNINGS := -Wall \
|
||||
-Wno-sign-compare \
|
||||
-Wno-unused-variable \
|
||||
-Wno-unused-function \
|
||||
-Wno-uninitialized \
|
||||
$(NEW_GCC_WARNING_FLAGS) \
|
||||
-Wno-strict-aliasing
|
||||
include ../Makefile.common
|
||||
|
||||
LOCAL_SRC_FILES += $(SOURCES_CXX) $(SOURCES_C)
|
||||
EXTRA_GCC_FLAGS := -funroll-loops
|
||||
|
||||
ifeq ($(NO_GCC),1)
|
||||
EXTRA_GCC_FLAGS :=
|
||||
WARNINGS :=
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG),0)
|
||||
FLAGS += -O3 $(EXTRA_GCC_FLAGS)
|
||||
else
|
||||
FLAGS += -O0 -g
|
||||
endif
|
||||
|
||||
ifneq ($(OLD_GCC),1)
|
||||
NEW_GCC_WARNING_FLAGS += -Wno-narrowing \
|
||||
-Wno-unused-but-set-variable \
|
||||
-Wno-unused-result \
|
||||
-Wno-overflow
|
||||
NEW_GCC_FLAGS += -fno-strict-overflow
|
||||
endif
|
||||
|
||||
LDFLAGS += $(fpic) $(SHARED)
|
||||
FLAGS += $(fpic) $(NEW_GCC_FLAGS)
|
||||
LOCAL_C_INCLUDES += .. ../mednafen ../mednafen/include ../mednafen/intl ../mednafen/hw_cpu ../mednafen/hw_sound ../mednafen/hw_misc ../mednafen/hw_video $(CORE_INCDIR) $(EXTRA_CORE_INCDIR)
|
||||
FLAGS += $(fpic) $(NEW_GCC_FLAGS) $(INC_FLAGS)
|
||||
|
||||
FLAGS += $(ENDIANNESS_DEFINES) -DSIZEOF_DOUBLE=8 $(WARNINGS) -DMEDNAFEN_VERSION=\"0.9.26\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=926 -DPSS_STYLE=1 -DMPC_FIXED_POINT $(CORE_DEFINE) -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -DNDEBUG -D_LOW_ACCURACY_ $(SOUND_DEFINE) -D__STDC_CONSTANT_MACROS
|
||||
|
||||
ifeq ($(IS_X86), 1)
|
||||
FLAGS += -DARCH_X86
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 16)
|
||||
FLAGS += -DWANT_16BPP
|
||||
endif
|
||||
|
||||
ifeq ($(WANT_NEW_API), 1)
|
||||
FLAGS += -DWANT_NEW_API
|
||||
endif
|
||||
|
||||
ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
|
||||
FLAGS += -DFRONTEND_SUPPORTS_RGB565
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BPP), 32)
|
||||
FLAGS += -DWANT_32BPP
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS = $(FLAGS)
|
||||
LOCAL_CXXFLAGS = $(FLAGS) -fexceptions
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user