X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu-gles%2FMakefile;h=4b61b6f4b8a4b068637724e79c08d91f6e01db36;hp=fdefb08d753f7ec0a1dc6aab9be03809f219b4a8;hb=b78edec75aea5e9015e11dd71f7736d7e92b347b;hpb=f932e54bc49d2b211a9100f8b6f5385e0eafe64c diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile index fdefb08d..4b61b6f4 100644 --- a/plugins/gpu-gles/Makefile +++ b/plugins/gpu-gles/Makefile @@ -8,8 +8,10 @@ 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 @@ -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)