summaryrefslogtreecommitdiff
path: root/progs/egl/opengl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/opengl/Makefile')
-rw-r--r--progs/egl/opengl/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/progs/egl/opengl/Makefile b/progs/egl/opengl/Makefile
index 6a4cea870d..04a89b1d4a 100644
--- a/progs/egl/opengl/Makefile
+++ b/progs/egl/opengl/Makefile
@@ -14,7 +14,8 @@ LIBS = -L$(TOP)/$(LIB_DIR) -lEGL -lGL -lm
EGLUT_DIR = $(TOP)/progs/egl/eglut
EGLUT_DEMOS = \
- eglgears
+ eglgears \
+ xegl_tri
EGLUT_X11_DEMOS := $(addsuffix _x11,$(EGLUT_DEMOS))
EGLUT_SCREEN_DEMOS := $(addsuffix _screen,$(EGLUT_DEMOS))
@@ -28,8 +29,7 @@ PROGRAMS = \
eglscreen \
peglgears \
xeglgears \
- xeglthreads \
- xegl_tri
+ xeglthreads
.c.o:
@@ -66,10 +66,6 @@ xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP)
xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lpthread -lm $(X11_LIBS)
-xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
-
-
$(EGLUT_DIR)/libeglut-x11.a $(EGLUT_DIR)/libeglut-screen.a:
@$(MAKE) -C $(EGLUT_DIR)