COMMON_HDR = glwindow.h glutil.h
COMMON_LD = -lX11 -lboost_program_options
-BINARIES := glxtest egltest glx2test egl2test glestest eglinfo
+BINARIES := glxtest egltest glx2test egl2test gles2test eglinfo
all: $(BINARIES)
egl2test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h
g++ $(CFLAGS) -DWIN_EGL -DCON_GL1 $^ -lEGL -lGL $(COMMON_LD) -o $@
-glestest: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h
+gles2test: $(COMMON_SRC) $(COMMON_HDR) glutil_gl2.cpp eglbackend.cpp eglbackend.h
g++ $(CFLAGS) -DWIN_EGL -DCON_GLES2 $^ -lEGL -lGLESv2 $(COMMON_LD) -o $@
eglinfo: eglinfo.c