This repository has been archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathMakefile.common
87 lines (79 loc) · 2.3 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
EMU := $(CORE_DIR)/vice/src
GUI := $(CORE_DIR)/libretro/nukleargui
DEPS_DIR := $(CORE_DIR)/deps
INCFLAGS += \
-I$(CORE_DIR)/include \
-I$(CORE_DIR)/libretro/include \
-I$(CORE_DIR)/libretro \
-I$(GUI) \
-I$(GUI)/nuklear \
-I$(GUI)/retro \
-I$(CORE_DIR)/include/embedded \
-I$(CORE_DIR)/include/compat \
-I$(CORE_DIR) -DHAVE_CONFIG_H
VERSION = 3
REVISION = 0
CXXFLAGS += $(CPPFLAGS)
SOURCES_CC :=
SOURCES_C := \
$(CORE_DIR)/libretro/libretro-core.c \
$(GUI)/retro/SDL_gfxPrimitives.c \
$(GUI)/retro/retro_surface.c \
$(GUI)/app.c
ifeq ($(EMUTYPE), x128)
include $(CORE_DIR)/Makefile.x128
else ifeq ($(EMUTYPE), x64sc)
include $(CORE_DIR)/Makefile.x64sc
else ifeq ($(EMUTYPE), x64dtv)
include $(CORE_DIR)/Makefile.x64dtv
else ifeq ($(EMUTYPE), x64scpu)
include $(CORE_DIR)/Makefile.x64scpu
else ifeq ($(EMUTYPE), xplus4)
include $(CORE_DIR)/Makefile.xplus4
else ifeq ($(EMUTYPE), xvic)
include $(CORE_DIR)/Makefile.xvic
else ifeq ($(EMUTYPE), xcbm5x0)
include $(CORE_DIR)/Makefile.xcbm5x0
else ifeq ($(EMUTYPE), xcbm2)
include $(CORE_DIR)/Makefile.xcbm2
else ifeq ($(EMUTYPE), xpet)
include $(CORE_DIR)/Makefile.xpet
else
include $(CORE_DIR)/Makefile.x64
endif
SOURCES_CC += $(LOCAL_SRC_CC_FILES)
SOURCES_C += \
$(LOCAL_SRC_FILES) \
$(EMU)/arch/libretro/joy.c \
$(EMU)/arch/libretro/video.c \
$(EMU)/arch/libretro/ui.c \
$(EMU)/arch/libretro/kbd.c \
$(EMU)/arch/libretro/main.c \
$(EMU)/arch/libretro/archdep.c \
$(EMU)/arch/libretro/vsidui.c \
$(EMU)/arch/libretro/blockdev.c \
$(EMU)/arch/libretro/c64ui.c \
$(EMU)/arch/libretro/console.c \
$(EMU)/arch/libretro/uicmdline.c \
$(EMU)/arch/libretro/uimon.c \
$(EMU)/arch/libretro/vsyncarch.c \
$(EMU)/arch/libretro/mousedrv.c \
$(EMU)/arch/libretro/signals.c \
$(EMU)/arch/libretro/retrostubs.c \
$(EMU)/arch/libretro/uistatusbar.c
ifeq ($(STATIC_LINKING),1)
else
SOURCES_C += \
$(DEPS_DIR)/libz/adler32.c \
$(DEPS_DIR)/libz/crc32.c \
$(DEPS_DIR)/libz/deflate.c \
$(DEPS_DIR)/libz/inflate.c \
$(DEPS_DIR)/libz/inftrees.c \
$(DEPS_DIR)/libz/inffast.c \
$(DEPS_DIR)/libz/trees.c \
$(DEPS_DIR)/libz/gzread.c \
$(DEPS_DIR)/libz/gzwrite.c \
$(DEPS_DIR)/libz/gzlib.c \
$(DEPS_DIR)/libz/gzclose.c \
$(DEPS_DIR)/libz/zutil.c
endif