gpfce patch
[fceu.git] / Makefile.base
CommitLineData
5232c20c 1CFLAGS = -Wall ${TFLAGS}
c62d2810 2OBJECTS = fce.o x6502.o video.o general.o endian.o svga.o sound.o nsf.o fds.o netplay.o ines.o state.o unif.o input.o file.o cart.o crc32.o memory.o cheat.o debug.o
3
4fceu: fceu2
5include mappers/Makefile
6include boards/Makefile
7include mbshare/Makefile
8include input/Makefile
9
10fceu2: ${OBJECTS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${INPOBJS} ${OBJDRIVER}
11 ${CC} -s -o fceu ${OBJECTS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${INPOBJS} ${OBJDRIVER} ${LDRIVER}
12
13clean:
14 ${RM} fceu fceu.exe ${OBJECTS} ${INPOBJS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${OBJDRIVER}
15
16nsf.o: nsf.c nsf.h fce.h x6502.h svga.h video.h sound.h nsfbgnew.h general.h file.h
17x6502.o: x6502.c x6502.h ops.h fce.h sound.h
18video.o: video.c types.h video.h svga.h version.h general.h
19sound.o: sound.c sound.h types.h fce.h svga.h x6502.h
20svga.o: svga.c svga.h types.h palette.h state.h netplay.h fds.h fce.h nsf.h video.h sound.h palettes/*.h driver.h drawing.h
21netplay.o: netplay.c netplay.h types.h svga.h
22
23state.o: state.c state.h
24
25unif.o: unif.c unif.h file.h cart.h
26
27memory.o: memory.c memory.h
28
29cart.o: cart.c cart.h types.h version.h fce.h
30fce.o: fce.c *.h
31fds.o: fds.h x6502.h types.h version.h fce.h svga.h sound.h general.h state.h file.h memory.h
32ines.o: ines.c ines.h x6502.h types.h fce.h ines.h version.h svga.h general.h state.h file.h memory.h cart.h crc32.h banksw.h
33input.o: input.c input.h x6502.h types.h fce.h sound.h netplay.h driver.h svga.h
34
35crc32.o: crc32.c crc32.h types.h
36endian.o: endian.c endian.h types.h
37file.o: file.c file.h types.h endian.h memory.h driver.h
38general.o: general.c general.h types.h state.h version.h
39
40cheat.o: cheat.c driver.h
41
42debug.o: debug.c debug.h fce.h