X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=Makefile.gp2x;h=b376ce63a4608092a285f7268425fdb83948c049;hp=be2070a9eef9d235526778a2139028af16f7c7e8;hb=22f08d9598e12f15de5e3c2f503c2ad1298dcc17;hpb=9a079c3760813dd9715edab1c7ebc5d43b385bef diff --git a/Makefile.gp2x b/Makefile.gp2x index be2070a..b376ce6 100644 --- a/Makefile.gp2x +++ b/Makefile.gp2x @@ -2,7 +2,7 @@ CC = arm-linux-gcc STRIP = arm-linux-strip TFLAGS = -mcpu=arm920t -Izlib -DGP2X=1 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DFRAMESKIP -D_REENTRANT RM = rm -f -B = drivers/pc/ +B = drivers/gp2x/ ifdef DEBUG TFLAGS += -ggdb else @@ -16,18 +16,17 @@ gpfce: fceu include zlib/Makefile -OBJDRIVER = ${B}minimal.o ${B}sdl.o ${B}main.o ${B}throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}lnx-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o +OBJDRIVER = ${B}minimal.o ${B}gp2x.o ${B}main.o ${B}throttle.o ${B}unix-netplay.o ${B}gp2x-sound.o ${B}gp2x-video.o ${B}lnx-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o LDRIVER = -L /mnt/sd/lib -L/mnt/sd/gp2x/usr/lib -lm -lpthread -lz -static -# `arm-linux-sdl-config --libs` include Makefile.base ${B}lnx-joystick.o: ${B}lnx-joystick.c ${B}main.o: ${B}main.c ${B}main.h ${B}usage.h ${B}input.c -${B}sdl.o: ${B}sdl.c ${B}sdl.h -${B}sdl-video.o: ${B}sdl-video.c -${B}sdl-video.o: ${B}minimal.c -${B}sdl-sound.o: ${B}sdl-sound.c +${B}gp2x.o: ${B}gp2x.c ${B}gp2x.h +${B}gp2x-video.o: ${B}gp2x-video.c +${B}gp2x-video.o: ${B}minimal.c +${B}gp2x-sound.o: ${B}gp2x-sound.c ${B}unix-netplay.o: ${B}unix-netplay.c ${B}throttle.o: ${B}throttle.c ${B}main.h ${B}throttle.h ppu.o: ppu.c ppu.h