summaryrefslogtreecommitdiff
path: root/progs/egl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-14 23:16:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-14 23:16:41 +0000
commitbadad72383369fc9b1e32f7f550929af04ed3c4a (patch)
tree5e07c26cfa002239710250b455146be2a251abab /progs/egl/Makefile
parentc62c24c72f42bebce576c4e34d100acaaa5e674e (diff)
eglgears demo (Dane Rushton)
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 *~