| 1 | CC = gcc |
| 2 | TFLAGS = -no-fpic -DC80x86 -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB |
| 3 | RM = rm -f |
| 4 | B = drivers/cli/ |
| 5 | |
| 6 | all: fceu |
| 7 | |
| 8 | include zlib/Makefile |
| 9 | |
| 10 | OBJDRIVER = ${B}sdl.o ${B}main.o ${B}throttle.o ${B}sdl-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} |
| 11 | LDRIVER = -static `sdl-config --libs` -lz -lSDL_net |
| 12 | |
| 13 | include Makefile.base |
| 14 | |
| 15 | ${B}sdl-joystick.o: ${B}sdl-joystick.c |
| 16 | ${B}main.o: ${B}main.c ${B}main.h ${B}usage.h ${B}input.c ${B}keyscan.h |
| 17 | ${B}sdl.o: ${B}sdl.c ${B}sdl.h |
| 18 | ${B}sdl-video.o: ${B}sdl-video.c |
| 19 | ${B}sdl-sound.o: ${B}sdl-sound.c |
| 20 | ${B}sdl-netplay.o: ${B}sdl-netplay.c |
| 21 | ${B}throttle.o: ${B}throttle.c ${B}main.h ${B}throttle.h |
| 22 | |
| 23 | include Makefile.common |