summaryrefslogtreecommitdiffstats
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-04 11:41:37 -0600
committerBrian Paul <[email protected]>2008-06-04 11:41:37 -0600
commit2154cb4994c49031b8614dfad8e97c730f4702a6 (patch)
tree0e3a01735c8604a7db633cce78e0a40266fc4d9e /progs/egl/Makefile
parentbf527cc8d41c277e610d4d51d3b1394e1d417805 (diff)
egl: single triangle test
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 29e0d407e34..3bde6029aca 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -15,7 +15,8 @@ PROGRAMS = \
eglinfo \
eglgears \
peglgears \
- xeglgears
+ xeglgears \
+ xegl_tri
.c.o:
@@ -73,6 +74,13 @@ xeglgears.o: xeglgears.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include xeglgears.c
+xegl_tri: xegl_tri.o $(TOP)/$(LIB_DIR)/libEGL.so
+ $(CC) $(CFLAGS) xegl_tri.o -L$(TOP)/$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
+
+xegl_tri.o: xegl_tri.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include xegl_tri.c
+
+
clean:
rm -f *.o *~
rm -f *.so