summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/Makefile')
-rw-r--r--progs/egl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 55efcb473b..c50b437932 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -11,6 +11,7 @@ HEADERS = $(TOP)/include/GLES/egl.h
PROGRAMS = \
demo1 \
demo2 \
+ demo3 \
eglinfo
@@ -36,6 +37,13 @@ demo2.o: demo2.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include demo2.c
+demo3: demo3.o $(LIB_DIR)/libEGL.so
+ $(CC) demo3.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+
+demo3.o: demo3.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include demo3.c
+
+
eglinfo: eglinfo.o $(LIB_DIR)/libEGL.so
$(CC) eglinfo.o -L$(LIB_DIR) -lEGL -o $@