Use correct PV when clipping.
[mesa.git] / progs / redbook / Makefile.BeOS-R4
1 # $Id: Makefile.BeOS-R4,v 1.2 1999/09/17 00:08:31 brianp Exp $
2
3 # Makefile for OpenGL Programming Guide programs for BeOS R4
4 # This file is in the public domain.
5
6
7 # $Log: Makefile.BeOS-R4,v $
8 # Revision 1.2 1999/09/17 00:08:31 brianp
9 # link with -lGLU -lGL instead of -lMesaGLU -lMesaGL
10 #
11 # Revision 1.1.1.1 1999/08/19 00:55:40 jtg
12 # Imported sources
13 #
14 # Revision 1.1 1999/02/25 02:13:06 brianp
15 # initial check-in
16 #
17
18
19 ##### MACROS #####
20
21 INCDIR = ../include
22 LIBDIR = ../lib
23
24 GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
25
26 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
27
28 PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
29 bezcurve bezmesh checker clip colormat cube depthcue dof \
30 double drawf feedback fog fogindex font hello image light \
31 lines list material mipmap model movelight nurbs pickdepth \
32 picksquare plane planet polyoff polys robot sccolorlight \
33 scene scenebamb sceneflat select smooth stencil stroke surface \
34 teaambient teapots tess tesswind texbind texgen texprox texsub \
35 texturesurf torus unproject varray wrap
36
37
38 ##### RULES #####
39
40 .SUFFIXES:
41 .SUFFIXES: .c
42
43 .c: $(LIB_DEP)
44 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
45
46
47
48 ##### TARGETS #####
49
50 default:
51 @echo "Specify a target configuration"
52
53 clean:
54 -rm *.o *~
55
56 realclean:
57 -rm $(PROGS)
58 -rm *.o *~
59
60 targets: $(PROGS)
61
62 # execute all programs
63 exec: $(PROGS)
64 @for prog in $(PROGS) ; \
65 do \
66 echo -n "Running $$prog ..." ; \
67 $$prog ; \
68 echo ; \
69 done
70
71
72 include ../Make-config
73