diff options
author | Jakob Bornecrantz <[email protected]> | 2008-05-14 17:20:25 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-05-14 17:20:25 +0200 |
commit | 3f9de6ff7dbfc417b50ac27be8461304f0134f91 (patch) | |
tree | ce811aed611d2a942e11e7c30e50a87f33903626 /progs/egl/Makefile | |
parent | d07fbdd93941d5027a1aa7f0726140c6648a1e27 (diff) |
egl: Updated EGL samples to use new i915 EGL winsys
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r-- | progs/egl/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile index 33447a9d575..da710cbbbfc 100644 --- a/progs/egl/Makefile +++ b/progs/egl/Makefile @@ -46,7 +46,7 @@ demo3.o: demo3.c $(HEADERS) eglinfo: eglinfo.o $(TOP)/$(LIB_DIR)/libEGL.so - $(CC) $(CFLAGS) eglinfo.o -L$(TOP)/$(LIB_DIR) -lEGL $(LIBDRM_LIB) -o $@ + $(CC) $(CFLAGS) eglinfo.o -L$(TOP)/$(LIB_DIR) -lGL -lEGL $(LIBDRM_LIB) -o $@ eglinfo.o: eglinfo.c $(HEADERS) $(CC) -c $(CFLAGS) -I$(TOP)/include eglinfo.c @@ -63,3 +63,9 @@ clean: rm -f *.o *~ rm -f *.so rm -f $(PROGRAMS) + +run: + LD_LIBRARY_PATH=$(TOP)/lib ./eglgears + +debug: + LD_LIBRARY_PATH=$(TOP)/lib gdb ./eglgears |