some warnings fixed, nsf fixed, palettes, more code backported
[fceu.git] / Makefile.gp2x
index 95398d6..af7d4ae 100644 (file)
@@ -2,7 +2,7 @@ CROSS   = arm-linux-
 CC     = $(CROSS)gcc
 STRIP  = $(CROSS)strip
 AS     = $(CROSS)as
-TFLAGS  = -Winline -mcpu=arm920t -Izlib -DGP2X=1 -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DZLIB -DFRAMESKIP -D_REENTRANT
+TFLAGS  = -Winline -mcpu=arm920t -Izlib -DGP2X=1 -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT
 ASFLAGS        = -mcpu=arm920t -mfloat-abi=soft
 RM     = rm -f
 B      = drivers/gp2x/
@@ -41,7 +41,7 @@ else
 OBJDRIVER += x6502.o
 endif
 
-x6502.o: x6502.c x6502.h ops.h fce.h sound.h
+x6502.o: x6502.c x6502.h ops.h fce.h sound.h dprintf.h
 
 ncpu.o: ncpu.S ncpu.h
        $(CC) $(TFLAGS) -c $< -o $@