summaryrefslogtreecommitdiffstats
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
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