-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.musashi.inc
48 lines (38 loc) · 1.17 KB
/
Makefile.musashi.inc
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
M68K_INCL = \
Musashi/m68kcpu.h \
Musashi/m68kmmu.h \
Musashi/softfloat/softfloat.h \
Iop/musashi_conf.h \
Musashi/m68kops.h
OBJS += ${OBJDIR}/m68kcpu.o
${OBJDIR}/m68kcpu.o: \
Musashi/m68kcpu.c \
${M68K_INCL}
${CC} ${CFLAGS} -c Musashi/m68kcpu.c -o ${OBJDIR}/m68kcpu.o
OBJS += ${OBJDIR}/m68kdasm.o
${OBJDIR}/m68kdasm.o: \
Musashi/m68kdasm.c \
${M68K_INCL}
${CC} ${CFLAGS} -c Musashi/m68kdasm.c -o ${OBJDIR}/m68kdasm.o
OBJS += ${OBJDIR}/m68kops.o
${OBJDIR}/m68kops.o: \
Musashi/m68kops.c \
Musashi/m68kcpu.h \
Musashi/m68kops.h
${CC} ${CFLAGS} -c Musashi/m68kops.c -o ${OBJDIR}/m68kops.o
Musashi/m68kops.h Musashi/m68kops.c: \
${OBJDIR}/m68kmake \
Iop/musashi_conf.h \
Musashi/m68k_in.c
${OBJDIR}/m68kmake Musashi Musashi/m68k_in.c
${OBJDIR}/m68kmake: \
Musashi/m68kmake.c
${CC} ${CFLAGS} Musashi/m68kmake.c -o ${OBJDIR}/m68kmake
Musashi/m68kcpu.h: \
Musashi/m68k.h
CLEANFILES += Musashi/m68kops.h Musashi/m68kops.c ${OBJDIR}/m68kmake
OBJS += ${OBJDIR}/m68ksoftfloat.o
${OBJDIR}/m68ksoftfloat.o: \
Musashi/softfloat/softfloat.c \
${M68K_INCL}
${CC} ${CFLAGS} -c Musashi/softfloat/softfloat.c -o ${OBJDIR}/m68ksoftfloat.o