Makefile.common 2.82 KB
Newer Older
Libretro-Admin's avatar
Libretro-Admin committed
1
2
3
4
INCFLAGS   := \
	-I$(CORE_DIR) \
	-I$(CORE_DIR)/libretro-common/include \
	-I$(CORE_DIR)/include
Libretro-Admin's avatar
Libretro-Admin committed
5

6
7

SOURCES_C :=  \
Libretro-Admin's avatar
Libretro-Admin committed
8
	$(CORE_DIR)/common/cl_input.c \
Libretro-Admin's avatar
Libretro-Admin committed
9
10
	$(CORE_DIR)/common/cd_common.c \
	$(CORE_DIR)/common/alias_model.c \
Libretro-Admin's avatar
Libretro-Admin committed
11
12
13
14
15
	$(CORE_DIR)/common/chase.c \
	$(CORE_DIR)/common/cl_demo.c \
	$(CORE_DIR)/common/cl_main.c \
	$(CORE_DIR)/common/cl_parse.c \
	$(CORE_DIR)/common/cl_tent.c \
Libretro-Admin's avatar
Libretro-Admin committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
	$(CORE_DIR)/common/common.c \
	$(CORE_DIR)/common/cmd.c \
	$(CORE_DIR)/common/crc.c \
	$(CORE_DIR)/common/console.c \
	$(CORE_DIR)/common/cvar.c \
	$(CORE_DIR)/common/d_edge.c \
	$(CORE_DIR)/common/d_fill.c \
	$(CORE_DIR)/common/d_init.c \
	$(CORE_DIR)/common/d_part.c \
	$(CORE_DIR)/common/d_modech.c \
	$(CORE_DIR)/common/d_polyse.c \
	$(CORE_DIR)/common/d_scan.c \
	$(CORE_DIR)/common/d_sky.c \
	$(CORE_DIR)/common/d_sprite.c \
	$(CORE_DIR)/common/d_surf.c \
	$(CORE_DIR)/common/d_vars.c \
	$(CORE_DIR)/common/draw.c \
Libretro-Admin's avatar
Libretro-Admin committed
33
34
	$(CORE_DIR)/common/host.c \
	$(CORE_DIR)/common/host_cmd.c \
Libretro-Admin's avatar
Libretro-Admin committed
35
36
	$(CORE_DIR)/common/keys.c \
	$(CORE_DIR)/common/mathlib.c \
Libretro-Admin's avatar
Libretro-Admin committed
37
	$(CORE_DIR)/common/menu.c \
Libretro-Admin's avatar
Libretro-Admin committed
38
	$(CORE_DIR)/common/model.c \
Libretro-Admin's avatar
Libretro-Admin committed
39
40
41
	$(CORE_DIR)/common/net_common.c \
	$(CORE_DIR)/common/net_loop.c \
	$(CORE_DIR)/common/net_main.c \
Libretro-Admin's avatar
Libretro-Admin committed
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	$(CORE_DIR)/common/pr_cmds.c \
	$(CORE_DIR)/common/pr_exec.c \
	$(CORE_DIR)/common/pr_edict.c \
	$(CORE_DIR)/common/r_aclip.c \
	$(CORE_DIR)/common/r_alias.c \
	$(CORE_DIR)/common/r_bsp.c \
	$(CORE_DIR)/common/r_draw.c \
	$(CORE_DIR)/common/r_edge.c \
	$(CORE_DIR)/common/r_efrag.c \
	$(CORE_DIR)/common/r_light.c \
	$(CORE_DIR)/common/r_main.c \
	$(CORE_DIR)/common/r_misc.c \
	$(CORE_DIR)/common/r_model.c \
	$(CORE_DIR)/common/r_part.c \
	$(CORE_DIR)/common/r_sky.c \
	$(CORE_DIR)/common/r_sprite.c \
	$(CORE_DIR)/common/r_vars.c \
	$(CORE_DIR)/common/r_surf.c \
	$(CORE_DIR)/common/rb_tree.c \
Libretro-Admin's avatar
Libretro-Admin committed
61
	$(CORE_DIR)/common/sbar.c \
Libretro-Admin's avatar
Libretro-Admin committed
62
63
	$(CORE_DIR)/common/screen.c \
	$(CORE_DIR)/common/shell.c \
64
	$(CORE_DIR)/common/bgmusic.c \
65
66
67
68
69
70
71
72
73
74
    $(CORE_DIR)/common/snd_codec.c \
    $(CORE_DIR)/common/snd_flac.c \
    $(CORE_DIR)/common/snd_mikmod.c \
    $(CORE_DIR)/common/snd_modplug.c \
    $(CORE_DIR)/common/snd_mp3.c \
    $(CORE_DIR)/common/snd_mpg123.c \
    $(CORE_DIR)/common/snd_opus.c \
    $(CORE_DIR)/common/snd_umx.c \
    $(CORE_DIR)/common/snd_vorbis.c \
    $(CORE_DIR)/common/snd_wave.c \
Libretro-Admin's avatar
Libretro-Admin committed
75
76
77
78
	$(CORE_DIR)/common/snd_dma.c \
	$(CORE_DIR)/common/snd_mem.c \
	$(CORE_DIR)/common/snd_mix.c \
	$(CORE_DIR)/common/sprite_model.c \
Libretro-Admin's avatar
Libretro-Admin committed
79
	$(CORE_DIR)/common/sv_main.c \
Libretro-Admin's avatar
Libretro-Admin committed
80
	$(CORE_DIR)/common/sv_move.c \
Libretro-Admin's avatar
Libretro-Admin committed
81
82
	$(CORE_DIR)/common/sv_phys.c \
	$(CORE_DIR)/common/sv_user.c \
83
	$(CORE_DIR)/common/libretro.c \
Libretro-Admin's avatar
Libretro-Admin committed
84
	$(CORE_DIR)/common/view.c \
Libretro-Admin's avatar
Libretro-Admin committed
85
86
87
	$(CORE_DIR)/common/wad.c \
	$(CORE_DIR)/common/zone.c \
	$(CORE_DIR)/common/world.c
Libretro-Admin's avatar
Libretro-Admin committed
88

89
ifneq ($(STATIC_LINKING),1)
Libretro-Admin's avatar
Libretro-Admin committed
90
91
92
	SOURCES_C += \
					 $(CORE_DIR)/libretro-common/file/retro_dirent.c \
					 $(CORE_DIR)/libretro-common/file/retro_stat.c
93
94
endif

Libretro-Admin's avatar
Libretro-Admin committed
95
SOURCES_C += $(CORE_DIR)/common/net_none.c