X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu-gles%2FMakefile;h=8a3f244ef388fd466f92e2e3eb3a3f00c241129c;hp=fdefb08d753f7ec0a1dc6aab9be03809f219b4a8;hb=d2ec504b047cc7d7a036c339d46e41e8567422a8;hpb=f932e54bc49d2b211a9100f8b6f5385e0eafe64c diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile index fdefb08d..8a3f244e 100644 --- a/plugins/gpu-gles/Makefile +++ b/plugins/gpu-gles/Makefile @@ -8,12 +8,14 @@ CROSS_COMPILE ?= arm-none-linux-gnueabi- #CC = $(PREFIX)/bin/$(CROSS_COMPILE)gcc CC = $(CROSS_COMPILE)gcc -CFLAGS += -fPIC # -Wall +CFLAGS += -fPIC -ggdb # -Wall +ifndef DEBUG CFLAGS += -O3 -ffast-math -fomit-frame-pointer +endif CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 # note: the below causes strange bugs/crashes #CFLAGS += -mfloat-abi=softfp -CFLAGS += -DMAEMO_CHANGES # -DUSE_X11 +#CFLAGS += -DUSE_X11 CFLAGS += -I$(PREFIX)include TARGET = gpuGLES.so @@ -22,6 +24,8 @@ LIB = -L$(PREFIX)lib -lGLES_CM -lX11 -lXau -lXdmcp OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o +-include Makefile.local + all: $(TARGET) $(TARGET): $(OBJ)