summaryrefslogtreecommitdiffstats
path: root/progs/demos/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-10-23 16:58:32 +0000
committerBrian Paul <[email protected]>2004-10-23 16:58:32 +0000
commite57b6d5a4fee3f2540ebf6fff0702583bdc8e6d2 (patch)
tree96dbcc467c358704b9a438477de29025a8d60086 /progs/demos/Makefile
parent0aa0343fb00eb1058e07d8c17bda77d73be1d71a (diff)
addes osdemo32 target (J.P. Delport)
Diffstat (limited to 'progs/demos/Makefile')
-rw-r--r--progs/demos/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index ff07481a9d0..b03a5dbafd5 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -7,6 +7,8 @@ INCDIR = $(TOP)/include
OSMESA_LIBS = -L$(LIB_DIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
+OSMESA32_LIBS = -L$(LIB_DIR) -lglut -lOSMesa32 -lGLU -lGL $(APP_LIB_DEPS)
+
LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME) $(LIB_DIR)/$(GLUT_LIB_NAME)
PROGS = \
@@ -88,3 +90,8 @@ readtex.h:
# special case: need the -lOSMesa library:
osdemo: osdemo.c
$(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@
+
+# another special case: need the -lOSMesa32 library:
+osdemo32: osdemo32.c
+ $(CC) -I$(INCDIR) $(CFLAGS) osdemo32.c $(OSMESA32_LIBS) -o $@
+