summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index c50b437932..be97ac607c 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -12,7 +12,8 @@ PROGRAMS = \
demo1 \
demo2 \
demo3 \
- eglinfo
+ eglinfo \
+ eglgears
.c.o:
@@ -51,6 +52,12 @@ eglinfo.o: eglinfo.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include eglinfo.c
+eglgears: eglgears.o $(LIB_DIR)/libEGL.so
+ $(CC) eglgears.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+
+eglgears.o: eglgears.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include eglgears.c
+
clean:
rm -f *.o *~