aaindex.c aapoly.c aargb.c accanti.c accpersp.c alpha3D.c alpha.c anti.c bezcurve.c bezmesh.c checker.c clip.c colormat.c cube.c depthcue.c dof.c double.c drawf.c feedback.c fog.c fogindex.c font.c hello.c image.c light.c lines.c list.c material.c material.cpp mipmap.c model.c movelight.c nurbs.c pickdepth.c picksquare.c plane.c planet.c polyoff.c polys.c quadric.c robot.c sccolorlight.c scenebamb.c scene.c sceneflat.c select.c smooth.c stencile.c stroke.c surface.c teaambient.c teapots.c tess.c tesswind.c texbind.c texgen.c texprox.c texsub.c texturesurf.c torus.c trim.c unproject.c varray.c wrap.c
To remove adding the libs yourself supply the makefile with the files name. Since makefiles interfere with command line arguments to make the program name is passed in as a variable P. ie
make P=material.c
./main