summaryrefslogtreecommitdiffstats
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-06-04 18:58:22 +0200
committerJakob Bornecrantz <[email protected]>2008-06-04 19:31:05 +0200
commit88f86c9d026fc71b78cc6d71c0faaed38d0d6927 (patch)
treefd784c340c0ba38437c1b07a4c581ca78ecbf08d /progs/egl/Makefile
parent1b386f4416e8e7307ffe4f4c37e792eab18501dc (diff)
egl: Added peglgears, gears that uses pbuffers
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index ae2267f38fb..29e0d407e34 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -14,6 +14,7 @@ PROGRAMS = \
demo3 \
eglinfo \
eglgears \
+ peglgears \
xeglgears
@@ -59,6 +60,11 @@ eglgears: eglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
eglgears.o: eglgears.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglgears.c
+peglgears: peglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
+ $(CC) $(CFLAGS) peglgears.o -L$(TOP)/$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
+
+peglgears.o: peglgears.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include peglgears.c
xeglgears: xeglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
$(CC) $(CFLAGS) xeglgears.o -L$(TOP)/$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
@@ -73,7 +79,7 @@ clean:
rm -f $(PROGRAMS)
run:
- LD_LIBRARY_PATH=$(TOP)/lib ./eglgears
+ LD_LIBRARY_PATH=$(TOP)/lib ./peglgears
debug:
- LD_LIBRARY_PATH=$(TOP)/lib gdb ./eglgears
+ LD_LIBRARY_PATH=$(TOP)/lib gdb ./peglgears