-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.common
101 lines (87 loc) · 2.75 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
88
89
90
91
92
93
94
95
96
97
98
99
EMU := $(CORE_DIR)/vice-2.4/src
GUI := $(CORE_DIR)/libretro/gui
INCFLAGS += -I$(CORE_DIR)/libretro/libco \
-I$(CORE_DIR)/libretro/core \
-I$(CORE_DIR)/libretro/include \
-I$(CORE_DIR)/libretro/emu \
-I$(CORE_DIR)/libretro \
-I$(CORE_DIR) \
-I$(EMU) -I$(EMU)/userport -I$(EMU)/video -I$(EMU)/core -I$(EMU)/platform \
-I$(EMU)/sid -I$(EMU)/drive -I$(EMU)/vicii -I$(EMU)/tape -I$(EMU)/c64 \
-I$(EMU)/c64dtv -I$(EMU)/vdc -I$(EMU)/raster -I$(EMU)/crtc -I$(EMU)/vdrive \
-I$(EMU)/c64/cart -I$(EMU)/imagecontents -I$(EMU)/arch/libretro -I$(EMU)/src \
-I$(EMU)/lib/p64 -I$(EMU)/drive/iec/c64exp -I$(EMU)/rtc \
-I$(EMU)/resid -I$(EMU)/monitor \
-I$(EMU)/vic20 \
-I$(EMU)/vic20/cart
ifneq ($(NOLIBCO), 1)
INCFLAGS += -I$(CORE_DIR)/libretro/libco
endif
ifeq ($(NOLIBCO), 1)
CPPFLAGS += -DNO_LIBCO
endif
VERSION = 4
REVISION = 2
CPPFLAGS += -fpermissive
CXXFLAGS += $(CPPFLAGS)
OBJECTS += \
$(CORE_DIR)/libretro/core/libretro-core.o \
$(CORE_DIR)/libretro/core/core-mapper.o \
$(CORE_DIR)/libretro/core/graph.o
ifeq ($(EMUTYPE), x128)
include Makefile.x128
else ifeq ($(EMUTYPE), x64sc)
include Makefile.x64sc
else ifeq ($(EMUTYPE), x64dtv)
include Makefile.x64dtv
else ifeq ($(EMUTYPE), x64scpu)
include Makefile.x64scpu
else ifeq ($(EMUTYPE), xplus4)
include Makefile.xplus4
else ifeq ($(EMUTYPE), xvic)
include Makefile.xvic
else ifeq ($(EMUTYPE), xcbm5x0)
include Makefile.xcbm5x0
else ifeq ($(EMUTYPE), xcbm2)
include Makefile.xcbm2
else ifeq ($(EMUTYPE), xpet)
include Makefile.xpet
else
include 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)/vicefeatures.c \
$(EMU)/arch/libretro/retrostubs.c $(EMU)/arch/libretro/uistatusbar.c
SOURCES_C += $(GUI)/dialog.c\
$(GUI)/paths.c \
$(GUI)/file.c \
$(GUI)/unzip.c \
$(GUI)/thumb.c \
$(GUI)/zip.c \
$(GUI)/str.c \
$(GUI)/dlgFloppy.c \
$(GUI)/dlgFileSelect.c \
$(GUI)/dlgJoystick.c \
$(GUI)/dlgAbout.c \
$(GUI)/dlgSound.c \
$(GUI)/dlgAlert.c \
$(GUI)/dlgMisc.c \
$(GUI)/dlgVideo.c \
$(GUI)/dlgMain.c \
$(GUI)/dlgSnapshot.c \
$(GUI)/dlgOption.c \
$(GUI)/sdlgui.c
ifneq ($(NOLIBCO), 1)
SOURCES_C += \
$(CORE_DIR)/libretro/libco/libco.c
endif