forked from alekmaul/a5200
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMakefile.common
54 lines (50 loc) · 1.65 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
LIBRETRO_DIR := $(CORE_DIR)/libretro
LIBRETRO_COMM_DIR := $(LIBRETRO_DIR)/libretro-common
CORE_SRC_DIR := $(CORE_DIR)/emu
INCFLAGS := \
-I$(CORE_SRC_DIR) \
-I$(LIBRETRO_DIR) \
-I$(LIBRETRO_COMM_DIR)/include
ifneq (,$(findstring msvc2003,$(platform)))
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
endif
SOURCES_C := \
$(LIBRETRO_DIR)/a5200_osk.c \
$(LIBRETRO_DIR)/libretro.c \
$(CORE_SRC_DIR)/altirra_5200_os.c \
$(CORE_SRC_DIR)/antic.c \
$(CORE_SRC_DIR)/atari.c \
$(CORE_SRC_DIR)/cartridge.c \
$(CORE_SRC_DIR)/compfile.c \
$(CORE_SRC_DIR)/cpu.itcm.c \
$(CORE_SRC_DIR)/devices.c \
$(CORE_SRC_DIR)/gtia.c \
$(CORE_SRC_DIR)/input.c \
$(CORE_SRC_DIR)/memory.c \
$(CORE_SRC_DIR)/mzpokeysnd.c \
$(CORE_SRC_DIR)/pia.c \
$(CORE_SRC_DIR)/pokey.c \
$(CORE_SRC_DIR)/pokeysnd.c \
$(CORE_SRC_DIR)/remez.c \
$(CORE_SRC_DIR)/rtime8.c \
$(CORE_SRC_DIR)/sio.c \
$(CORE_SRC_DIR)/statesav.c \
$(CORE_SRC_DIR)/util.c \
ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
$(LIBRETRO_COMM_DIR)/compat/compat_snprintf.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)/file/file_path.c \
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream_transforms.c \
$(LIBRETRO_COMM_DIR)/streams/memory_stream.c \
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
$(LIBRETRO_COMM_DIR)/time/rtime.c \
$(LIBRETRO_COMM_DIR)/utils/md5.c \
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c
endif