2 # Mesa 3-D graphics library
4 # Copyright (C) 1995-1999 Brian Paul
6 # This file is in the public domain.
9 # Makefile for sample programs for BeOS R4
19 GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
21 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
23 PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
24 font line logo olympic overlay point prim select \
25 shape sphere star stencil stretch texture tri wave
34 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
41 @echo "Specify a target configuration"
52 # execute all programs
54 @for prog in $(PROGS) ; \
56 echo -n "Running $$prog ..." ; \
62 include ../Make-config