summaryrefslogtreecommitdiffstats
path: root/progs/egl/opengl/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-04-01 13:12:16 +0800
committerChia-I Wu <[email protected]>2010-04-01 22:25:49 +0800
commit02551cab472fae0359f4f432e4ad05ba2f241ba6 (patch)
treeb3c77096468d22321edaeac05f997c8940aeff57 /progs/egl/opengl/Makefile
parent589f6740ea90c61af95a08dfe6b8bcc0a22ef4d2 (diff)
progs/egl: Porg xegl_tri to eglut.
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 6a4cea870d4..04a89b1d4af 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)