From 5b9aa74918361ff5d306c39cb695a77d7ea40b8f Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 21 Dec 2012 00:52:07 +0200 Subject: frontend: switch to libpicofe sdl code --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2ca2fdd..a3cd3b2 100644 --- a/Makefile +++ b/Makefile @@ -132,9 +132,18 @@ OBJS += plugins/dfinput/main.o plugins/dfinput/pad.o plugins/dfinput/guncon.o # frontend/gui ifeq "$(PLATFORM)" "generic" -OBJS += frontend/libpicofe/in_sdl.o frontend/plat_sdl.o +OBJS += frontend/libpicofe/in_sdl.o +OBJS += frontend/libpicofe/plat_sdl.o OBJS += frontend/libpicofe/plat_dummy.o OBJS += frontend/libpicofe/linux/in_evdev.o +OBJS += frontend/plat_sdl.o +ifeq "$(HAVE_GLES)" "1" +OBJS += frontend/libpicofe/gl.o +LDLIBS += $(LDLIBS_GLES) +frontend/libpicofe/plat_sdl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) +frontend/libpicofe/gl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) +frontend/plat_sdl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) +endif USE_PLUGIN_LIB = 1 USE_FRONTEND = 1 endif -- cgit v1.2.3 From 2c616080220bf33a8348e12fd8a5c87052300a54 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 22 Dec 2012 03:12:58 +0200 Subject: bump libpicofe for r-pi gl code --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a3cd3b2..0d72dea 100644 --- a/Makefile +++ b/Makefile @@ -138,9 +138,10 @@ OBJS += frontend/libpicofe/plat_dummy.o OBJS += frontend/libpicofe/linux/in_evdev.o OBJS += frontend/plat_sdl.o ifeq "$(HAVE_GLES)" "1" -OBJS += frontend/libpicofe/gl.o +OBJS += frontend/libpicofe/gl.o frontend/libpicofe/gl_platform.o LDLIBS += $(LDLIBS_GLES) frontend/libpicofe/plat_sdl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) +frontend/libpicofe/gl_platform.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) frontend/libpicofe/gl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) frontend/plat_sdl.o: CFLAGS += -DHAVE_GLES $(CFLAGS_GLES) endif -- cgit v1.2.3