chmod a-x **/glslnoise.c
[mesa-demos.git] / src / redbook / Makefile
blob7ba676c265b72d0647e57e6fd495ef911151f72f
1 # progs/redbook/Makefile
3 TOP = ../..
4 include $(TOP)/configs/current
6 INCDIR = $(TOP)/include
8 LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME)
10 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
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
23 ##### RULES #####
25 .SUFFIXES:
26 .SUFFIXES: .c
28 .c: $(LIB_DEP)
29 $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
33 ##### TARGETS ######
35 default: $(PROGS)
38 clean:
39 -rm -f $(PROGS)
40 -rm -f *.o *~