mirror of
https://github.com/libretro/Mu.git
synced 2026-07-08 17:57:01 +00:00
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
EMU_PATH := $(CORE_DIR)/../src
|
|
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
|
|
COREDEFINES =
|
|
|
|
INCFLAGS := -I$(LIBRETRO_COMM_DIR)/include
|
|
|
|
ifeq ($(DEBUG), 1)
|
|
COREDEFINES += -DEMU_DEBUG -DEMU_SANDBOX
|
|
else
|
|
COREDEFINES += -DEMU_NO_SAFETY
|
|
endif
|
|
|
|
ifneq (,$(findstring msvc200,$(platform)))
|
|
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
|
|
endif
|
|
|
|
ifneq (,$(findstring msvc20,$(platform)))
|
|
#Mu is dependent on stdbool.h existing
|
|
INCFLAGS += -I$(CORE_DIR)/fixIncludes/stdbool
|
|
endif
|
|
|
|
include $(EMU_PATH)/makefile.all
|
|
|
|
COREDEFINES += $(EMU_DEFINES)
|
|
|
|
SOURCES_C := $(CORE_DIR)/libretro.c \
|
|
$(CORE_DIR)/cursors.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
|
|
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \
|
|
$(LIBRETRO_COMM_DIR)/memmap/memmap.c \
|
|
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
|
|
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
|
|
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c \
|
|
$(EMU_SOURCES_C)
|
|
|
|
SOURCES_ASM := $(EMU_SOURCES_ASM)
|