-
Notifications
You must be signed in to change notification settings - Fork 35
/
Makefile.common
37 lines (30 loc) · 1014 Bytes
/
Makefile.common
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LIBRETRO_COMM_DIR = $(SOURCE_DIR)/deps/libretro-common
INCFLAGS := -I$(SOURCE_DIR) \
-I$(LIBRETRO_COMM_DIR)/include
SOURCES_CXX :=
SOURCES_C := \
$(SOURCE_DIR)/libretro.c \
$(SOURCE_DIR)/intv.c \
$(SOURCE_DIR)/memory.c \
$(SOURCE_DIR)/cp1610.c \
$(SOURCE_DIR)/cart.c \
$(SOURCE_DIR)/controller.c \
$(SOURCE_DIR)/osd.c \
$(SOURCE_DIR)/ivoice.c \
$(SOURCE_DIR)/psg.c \
$(SOURCE_DIR)/stic.c
ifeq ($(STATIC_LINKING),1)
else
SOURCES_C += $(LIBRETRO_COMM_DIR)/file/file_path.c \
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
$(LIBRETRO_COMM_DIR)/compat/compat_snprintf.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c
endif
SOURCES_CXX :=
INCLUDES := -I$(LIBRETRO_COMM_DIR)/include
ifneq (,$(findstring msvc200,$(platform)))
INCLUDES += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
endif