From 7eadbf885fc9ebd271fa0d7bce3f27394488b059 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 31 Dec 2010 17:25:34 +0200 Subject: Pickle's port for this emu --- plugins/gpu-gles/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 plugins/gpu-gles/Makefile (limited to 'plugins/gpu-gles/Makefile') diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile new file mode 100644 index 0000000..48f84b8 --- /dev/null +++ b/plugins/gpu-gles/Makefile @@ -0,0 +1,43 @@ +############################################################################## +# MAKEFILE FOR PETE'S MESAGL GPU... just run "make" +############################################################################## + +############################################################################## +# 1. SETS (CCFLAGS3 is used) +############################################################################## + +PREFIX = /mythtv/media/devel/toolchains/pandora/arm-2007q3 +TARGET = arm-none-linux-gnueabi- + +CC = $(PREFIX)/bin/$(TARGET)gcc + +CCFLAGS = -fPIC -c -Wall -O3 -ffast-math -fomit-frame-pointer -DMAEMO_CHANGES -DUSE_X11 + + +INCLUDE = -I$(PREFIX)/include +LINK = $(PREFIX)/bin/$(TARGET)gcc +LINKFLAGS = -shared -Wl,-soname,libgpuGLES.so -o libgpuGLES.so.1.0.0 +OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o + +LIB = -L$(PREFIX)/lib -lGLES_CM -lX11 -lXau -lXdmcp -lstdc++ + +############################################################################## +# 2. MAIN RULE +############################################################################## + +gpuPeopsMesaGL : $(OBJ) + $(LINK) $(LINKFLAGS) $(OBJ) $(LIB) + +############################################################################## +# 3. GENERAL RULES +############################################################################## + +%.o : %.c + $(CC) $(CCFLAGS) $(INCLUDE) $< + +############################################################################## +# 4. SPECIFIC RULES +############################################################################## + +clean: + rm *.o libgpuGLES.so* \ No newline at end of file -- cgit v1.2.3