gpu-gles: schtruck/fpse merge: don't delay gl init
[pcsx_rearmed.git] / plugins / gpu-gles / Makefile
CommitLineData
7eadbf88 1##############################################################################\r
2# MAKEFILE FOR PETE'S MESAGL GPU... just run "make"\r
3##############################################################################\r
4\r
f932e54b 5#PREFIX = /mythtv/media/devel/toolchains/pandora/arm-2007q3/\r
6CROSS_COMPILE ?= arm-none-linux-gnueabi-\r
7eadbf88 7\r
f932e54b 8#CC = $(PREFIX)/bin/$(CROSS_COMPILE)gcc\r
9CC = $(CROSS_COMPILE)gcc\r
7eadbf88 10\r
297b3d63 11CFLAGS += -fPIC -ggdb # -Wall\r
12ifndef DEBUG\r
f932e54b 13CFLAGS += -O3 -ffast-math -fomit-frame-pointer\r
297b3d63 14endif\r
f932e54b 15CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8\r
16# note: the below causes strange bugs/crashes\r
17#CFLAGS += -mfloat-abi=softfp\r
07f75e28 18#CFLAGS += -DUSE_X11\r
f932e54b 19CFLAGS += -I$(PREFIX)include\r
7eadbf88 20\r
f932e54b 21TARGET = gpuGLES.so\r
22LDFLAGS += -shared -Wl,-soname,$(TARGET) -o $(TARGET)\r
23LIB = -L$(PREFIX)lib -lGLES_CM -lX11 -lXau -lXdmcp\r
7eadbf88 24\r
f932e54b 25OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o\r
7eadbf88 26\r
de38f20e 27-include Makefile.local\r
28\r
f932e54b 29all: $(TARGET)\r
7eadbf88 30\r
f932e54b 31$(TARGET): $(OBJ)\r
32 $(CC) $(LDFLAGS) $(OBJ) $(LIB)\r
7eadbf88 33\r
34clean:\r
f932e54b 35 $(RM) $(TARGET) $(OBJ)\r