1 # $Id: Makefile.X11,v 1.6 2000/03/01 16:24:29 brianp Exp $
3 # Mesa 3-D graphics library
5 # Copyright (C) 1995-2000 Brian Paul
7 # Makefile for GLUT-based demo programs for Unix/X11
15 GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
17 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
19 PROGS = bounce clearspd drawpix gamma gears glinfo gloss glutfx isosurf \
20 morph3d multiarb osdemo paltex pointblast readpix reflect \
21 renormal spectex stex3d tessdemo texcyl texdown texobj trispd winpos \
30 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
37 @echo "Specify a target configuration"
48 # execute all programs
50 @for prog in $(PROGS) ; \
52 echo -n "Running $$prog ..." ; \
58 include ../Make-config