summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:26:14 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:26:14 +0200
commita3dbd412df99c7d19b1f81b3b9ec7d5c8a09d069 (patch)
treebaa0e115e726948268a60d5865897ab4e177ff79 /progs/egl/Makefile
parente8d5be9c76b08ba423e3c635aae5178f2358169a (diff)
parenta22462f6ef769129ee56223f1edc2cb851505da8 (diff)
Merge branch 'gallium-i915-current' into gallium-0.1
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 33447a9d57..da710cbbbf 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