c62d2810 |
1 | CC = gcc |
2 | TFLAGS = -O2 -mcpu=i686 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DDOS -DPSS_STYLE=2 -DZLIB -D_USE_LIBM_MATH_H |
3 | RM = del |
4 | B = drivers/cli/ |
5 | |
6 | all: fceu |
7 | |
8 | include zlib/Makefile |
9 | |
10 | OBJDRIVER = ${B}main.o ${B}dos.o ${B}throttle.o ${B}dos-joystick.o ${B}dos-keyboard.o ${B}dos-mouse.o ${B}dos-sound.o ${B}dos-video.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o ${ZLIBOBJS} ${UNZIPOBJS} |
11 | LDRIVER = -lm |
12 | |
13 | include Makefile.base |
14 | |
15 | ${B}main.o: ${B}main.c ${B}main.h ${B}usage.h ${B}input.c |
16 | ${B}dos.o: ${B}dos.c ${B}dos.h |
17 | ${B}throttle.o: ${B}throttle.c ${B}main.h ${B}throttle.h |
18 | ${B}dos-joystick.o: ${B}dos-joystick.c ${B}dos.h ${B}dos-joystick.h |
19 | ${B}dos-keyboard.o: ${B}dos-keyboard.c ${B}keyscan.h |
20 | ${B}dos-mouse.o: ${B}dos-mouse.c |
21 | ${B}dos-sound.o: ${B}dos-sound.c ${B}dos.h ${B}dos-sound.h ${B}dos-joystick.h |
22 | ${B}dos-video.o: ${B}dos-video.c ${B}dos.h ${B}dos-video.h |
23 | include Makefile.common |