rel stuff
[fceu.git] / Makefile.unixsdl
1 CC      = gcc 
2 TFLAGS  = -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
3
4 RM      = rm -f
5 B       = drivers/cli/
6
7 all:            fceu
8
9 include zlib/Makefile
10
11 OBJDRIVER       = ${B}sdl.o ${B}main.o ${B}throttle.o ${B}unix-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}
12 LDRIVER         = -lm `sdl-config --libs` -lz
13
14 include Makefile.base
15
16 ${B}sdl-joystick.o:     ${B}sdl-joystick.c
17 ${B}main.o:             ${B}main.c ${B}main.h ${B}usage.h ${B}input.c ${B}keyscan.h
18 ${B}sdl.o:              ${B}sdl.c ${B}sdl.h
19 ${B}sdl-video.o:        ${B}sdl-video.c
20 ${B}sdl-sound.o:        ${B}sdl-sound.c
21 #${B}sdl-netplay.o:     ${B}sdl-netplay.c
22 ${B}unix-netplay.o:     ${B}unix-netplay.c
23 ${B}throttle.o:         ${B}throttle.c ${B}main.h ${B}throttle.h
24
25 include Makefile.common