summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/Makefile
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-04-05 20:43:06 +0000
committerIan Romanick <idr@us.ibm.com>2005-04-05 20:43:06 +0000
commit29c909f81ceae4a0356718d6be0a14562c98c019 (patch)
treebfdf672d7c89da732b9ee1d3061c03472e58fbc5 /progs/xdemos/Makefile
parent5234d17514d88ad4e32bbe256aed31583df92c9b (diff)
downloadexternal_mesa3d-29c909f81ceae4a0356718d6be0a14562c98c019.zip
external_mesa3d-29c909f81ceae4a0356718d6be0a14562c98c019.tar.gz
external_mesa3d-29c909f81ceae4a0356718d6be0a14562c98c019.tar.bz2
Make glxgears_fbconfig compile and respect the DISPLAY setting. Add it
to the Makefile as well.
Diffstat (limited to 'progs/xdemos/Makefile')
-rw-r--r--progs/xdemos/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
index cc2dd57..ddd1b0b 100644
--- a/progs/xdemos/Makefile
+++ b/progs/xdemos/Makefile
@@ -11,6 +11,7 @@ LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME)
PROGS = glthreads \
glxdemo \
glxgears \
+ glxgears_fbconfig \
glxcontexts \
glxheads \
glxinfo \
@@ -64,6 +65,11 @@ pbdemo.o: pbdemo.c pbutil.h
pbutil.o: pbutil.c pbutil.h
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c
+glxgears_fbconfig: glxgears_fbconfig.o pbutil.o
+ $(CC) glxgears_fbconfig.o pbutil.o $(APP_LIB_DEPS) -o $@
+
+glxgears_fbconfig.o: glxgears_fbconfig.c pbutil.h
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) glxgears_fbconfig.c
xrotfontdemo: xrotfontdemo.o xuserotfont.o
$(CC) xrotfontdemo.o xuserotfont.o $(APP_LIB_DEPS) -o $@