summaryrefslogtreecommitdiffstats
path: root/progs/egl/opengles2/Makefile
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-04 15:58:29 +0200
committerRoland Scheidegger <[email protected]>2010-05-04 15:58:29 +0200
commit0ae2f59c0287f4baec6c7de5f2f0fdf736fba26d (patch)
treeee14bf3e8bba80649541c4e13fc07c60baf6c248 /progs/egl/opengles2/Makefile
parent7662e3519bef3802024da3050b886068281e02b1 (diff)
parent1c920c61764b17fd9fb4a89d2db7355fbe1d7565 (diff)
Merge commit 'origin/master' into gallium-msaa
Diffstat (limited to 'progs/egl/opengles2/Makefile')
-rw-r--r--progs/egl/opengles2/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/progs/egl/opengles2/Makefile b/progs/egl/opengles2/Makefile
index 1ee2af24127..89feb34acc1 100644
--- a/progs/egl/opengles2/Makefile
+++ b/progs/egl/opengles2/Makefile
@@ -6,7 +6,9 @@ include $(TOP)/configs/current
INCLUDE_DIRS = \
-I$(TOP)/include \
- $(X11_CFLAGS)
+ -I$(TOP)/progs/egl/eglut \
+ $(X11_CFLAGS) \
+
HEADERS = $(TOP)/include/GLES/egl.h
@@ -18,11 +20,12 @@ ES2_LIB_DEPS = \
ES2_LIBS = \
-L$(TOP)/$(LIB_DIR) -lEGL \
- -L$(TOP)/$(LIB_DIR) -lGLESv2 $(LIBDRM_LIB) $(X11_LIBS)
+ -L$(TOP)/$(LIB_DIR) -lGLESv2 $(LIBDRM_LIB) $(X11_LIBS) \
PROGRAMS = \
es2_info \
- tri
+ tri \
+ es2gears
.c.o:
@@ -43,7 +46,8 @@ es2_info: es2_info.o $(ES2_LIB_DEPS)
tri: tri.o $(ES2_LIB_DEPS)
$(CC) $(CFLAGS) tri.o $(ES2_LIBS) -o $@
-
+es2gears: es2gears.o $(ES2_LIB_DEPS)
+ $(CC) $(CFLAGS) es2gears.o ../eglut/libeglut-x11.a $(ES2_LIBS) -lm -o $@
clean:
rm -f *.o *~