addes osdemo32 target (J.P. Delport)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 23 Oct 2004 16:58:32 +0000 (16:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 23 Oct 2004 16:58:32 +0000 (16:58 +0000)
progs/demos/Makefile

index ff07481a9d05ced18121e0810f4fffca23bf9838..b03a5dbafd53d4131c3ccf0be6f72bf82e9d1a6c 100644 (file)
@@ -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 $@
+