soft scaler improved, menu bgs fixed
[fceu.git] / Makefile.base
CommitLineData
5232c20c 1CFLAGS = -Wall ${TFLAGS}
92764e62 2OBJECTS = fce.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 md5.o vsuni.o palette.o
af32b6c2 3# x6502.o
c62d2810 4
5fceu: fceu2
6include mappers/Makefile
7include boards/Makefile
c62d2810 8include input/Makefile
9
10fceu2: ${OBJECTS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${INPOBJS} ${OBJDRIVER}
15300263 11 ${CC} -o fceu ${OBJECTS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${INPOBJS} ${OBJDRIVER} ${LDRIVER}
e1591a12 12ifndef NOSTRIP
15300263 13 $(STRIP) fceu
14endif
c62d2810 15
16clean:
17 ${RM} fceu fceu.exe ${OBJECTS} ${INPOBJS} ${MOBJS} ${MUOBJS} ${MUSOBJS} ${OBJDRIVER}
18
e7f52878 19nsf.o: nsf.c nsf.h fce.h x6502.h svga.h video.h sound.h general.h file.h
af32b6c2 20#x6502.o: x6502.c x6502.h ops.h fce.h sound.h
c62d2810 21video.o: video.c types.h video.h svga.h version.h general.h
22sound.o: sound.c sound.h types.h fce.h svga.h x6502.h
23svga.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
24netplay.o: netplay.c netplay.h types.h svga.h
25
26state.o: state.c state.h
27
28unif.o: unif.c unif.h file.h cart.h
29
30memory.o: memory.c memory.h
31
32cart.o: cart.c cart.h types.h version.h fce.h
33fce.o: fce.c *.h
34fds.o: fds.h x6502.h types.h version.h fce.h svga.h sound.h general.h state.h file.h memory.h
35ines.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
36input.o: input.c input.h x6502.h types.h fce.h sound.h netplay.h driver.h svga.h
37
38crc32.o: crc32.c crc32.h types.h
39endian.o: endian.c endian.h types.h
40file.o: file.c file.h types.h endian.h memory.h driver.h
41general.o: general.c general.h types.h state.h version.h
42
43cheat.o: cheat.c driver.h
44
45debug.o: debug.c debug.h fce.h