summaryrefslogtreecommitdiffstats
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-30 11:43:35 -0600
committerBrian Paul <[email protected]>2008-05-30 11:47:09 -0600
commit80ed996803cf198cc498f1b9cc952ab2662c946f (patch)
tree7c6672bc1acc7928a6983e9c93b3dfc1250f3059 /progs/egl/Makefile
parent750782a327a1d295f4ed00a590c362f32912d597 (diff)
egl: new version of gears demo that uses Xlib+EGL (and full OpenGL for now)
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 da710cbbbfc..ae2267f38fb 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -13,7 +13,8 @@ PROGRAMS = \
demo2 \
demo3 \
eglinfo \
- eglgears
+ eglgears \
+ xeglgears
.c.o:
@@ -59,6 +60,13 @@ eglgears.o: eglgears.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglgears.c
+xeglgears: xeglgears.o $(TOP)/$(LIB_DIR)/libEGL.so
+ $(CC) $(CFLAGS) xeglgears.o -L$(TOP)/$(LIB_DIR) -lEGL $(LIBDRM_LIB) $(APP_LIB_DEPS) -o $@
+
+xeglgears.o: xeglgears.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include xeglgears.c
+
+
clean:
rm -f *.o *~
rm -f *.so