-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (43 loc) · 863 Bytes
/
Makefile
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
# Genesis Plus - Sega Mega Drive emulator
# (c) 1999, 2000, 2001, 2002, 2003 Charles MacDonald
# -DDEBUG - Enable debugging code
CC = gcc
INCLUDE = -I. \
-Icpu \
-Im68k \
-Isound \
-Iwin \
-I/usr/include/SDL2
LIBS = -lm -lSDL2 -lz
#Note: m68k/m68k_in.c and m68k/m68kmake.c not included
SOURCE = fileio.c \
genesis.c \
io.c \
loadrom.c \
mem68k.c \
membnk.c \
memvdp.c \
memz80.c \
render.c \
system.c \
unzip.c \
vdp.c
SOURCE += cpu/z80.c
SOURCE += m68k/m68kcpu.c \
m68k/m68kopac.c \
m68k/m68kopdm.c \
m68k/m68kopnz.c \
m68k/m68kops.c
SOURCE += sound/fm.c \
sound/sn76496.c \
sound/sound.c
SOURCE += win/main.c \
win/error.c
EXE = genesisplus
all :
$(CC) $(SOURCE) $(INCLUDE) -o $(EXE) $(LIBS)
clean :
rm -f genesisplus
#
# end of makefile
#