summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-01-18 05:14:01 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-01-18 05:14:01 +0100
commitb6b619c6ffadfd93281073317e19fb90fc68a1c0 (patch)
treefae12d8c16e5a6e3c1c12e2cb6c95461b965f2b4 /progs/egl/Makefile
parenta5df724c52d19ccc5e9151493e889095c186135d (diff)
egl: Add eglscreen to help debug egl mesa screen
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index f31c21e87e..e1fdb1ce63 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -15,6 +15,7 @@ PROGRAMS = \
egltri \
eglinfo \
eglgears \
+ eglscreen \
peglgears \
xeglgears \
xegl_tri
@@ -69,6 +70,11 @@ eglgears: eglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
eglgears.o: eglgears.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglgears.c
+eglscreen: eglscreen.o $(TOP)/$(LIB_DIR)/libEGL.so
+ $(CC) $(CFLAGS) $(LDFLAGS) eglscreen.o -L$(TOP)/$(LIB_DIR) -lEGL -lGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
+
+eglscreen.o: eglscreen.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include eglscreen.c
peglgears: peglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
$(CC) $(CFLAGS) peglgears.o -L$(TOP)/$(LIB_DIR) -lEGL -lGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@