summaryrefslogtreecommitdiff
path: root/progs/xdemos/Makefile
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-11 18:25:12 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-11 18:25:12 -0600
commit72c888869f4e5074e57c349ec356798959be791e (patch)
tree4edda6dbd141dc28da8ec2db760e94a72ec06e33 /progs/xdemos/Makefile
parentf1104b079f7992f60925fc6c08544cb8ab3cade4 (diff)
Example of cooperative rendering into one window by two processes
Diffstat (limited to 'progs/xdemos/Makefile')
-rw-r--r--progs/xdemos/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
index 4c4ecac38a..a7ba9afcac 100644
--- a/progs/xdemos/Makefile
+++ b/progs/xdemos/Makefile
@@ -8,7 +8,9 @@ INCDIR = $(TOP)/include
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
-PROGS = glthreads \
+PROGS = \
+ corender \
+ glthreads \
glxdemo \
glxgears \
glxgears_fbconfig \
@@ -83,3 +85,11 @@ xuserotfont.o: xuserotfont.c xuserotfont.h
xrotfontdemo.o: xrotfontdemo.c xuserotfont.h
$(CC) -c -I. -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) xrotfontdemo.c
+corender: corender.o ipc.o
+ $(CC) $(CFLAGS) corender.o ipc.o $(APP_LIB_DEPS) -o $@
+
+corender.o: corender.c ipc.h
+ $(CC) -c -I. -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) corender.c
+
+ipc.o: ipc.c ipc.h
+ $(CC) -c -I. -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) ipc.c \ No newline at end of file