ARB prog parser: fix parameter binding type
[mesa.git] / progs / redbook / Makefile
1 # progs/redbook/Makefile
2
3 TOP = ../..
4 include $(TOP)/configs/current
5
6 INCDIR = $(TOP)/include
7
8 LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME)
9
10 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
11
12 PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
13 bezcurve bezmesh checker clip colormat cube depthcue dof \
14 double drawf feedback fog fogindex font hello image light \
15 lines list material mipmap model movelight nurbs pickdepth \
16 picksquare plane planet polyoff polys quadric robot sccolorlight \
17 scene scenebamb sceneflat select smooth stencil stroke surface \
18 teaambient teapots tess tesswind texbind texgen texprox texsub \
19 texturesurf torus trim unproject varray wrap
20
21
22
23 ##### RULES #####
24
25 .SUFFIXES:
26 .SUFFIXES: .c
27
28 .c: $(LIB_DEP)
29 $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
30
31
32
33 ##### TARGETS ######
34
35 default: $(PROGS)
36
37
38 clean:
39 -rm -f $(PROGS)
40 -rm -f *.o *~
41