summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2005-05-13 18:31:35 +0000
committerJon Smirl <jonsmirl@gmail.com>2005-05-13 18:31:35 +0000
commit7012d01d888d482f2c6ad1180231a482026d213a (patch)
tree426deb1a0de72921bf19851243443ab570d896f6 /progs/egl/Makefile
parenta6ed129dfc4ccfd898d347543f745f0b7745e31d (diff)
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
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 27788663d7..55efcb473b 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -10,6 +10,7 @@ HEADERS = $(TOP)/include/GLES/egl.h
PROGRAMS = \
demo1 \
+ demo2 \
eglinfo
@@ -28,6 +29,13 @@ demo1.o: demo1.c $(HEADERS)
$(CC) -c $(CFLAGS) -I$(TOP)/include demo1.c
+demo2: demo2.o $(LIB_DIR)/libEGL.so
+ $(CC) demo2.o -L$(LIB_DIR) -lEGL $(APP_LIB_DEPS) -o $@
+
+demo2.o: demo2.c $(HEADERS)
+ $(CC) -c $(CFLAGS) -I$(TOP)/include demo2.c
+
+
eglinfo: eglinfo.o $(LIB_DIR)/libEGL.so
$(CC) eglinfo.o -L$(LIB_DIR) -lEGL -o $@