Clone of mesa.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Makefile.X11 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # $Id: Makefile.X11,v 1.3 2000/02/16 01:09:06 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1998 Brian Paul
  5. # Makefile for programs from the OpenGL Programming Guide
  6. ##### MACROS #####
  7. INCDIR = ../include
  8. LIBDIR = ../lib
  9. GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
  10. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  11. PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
  12. bezcurve bezmesh checker clip colormat cube depthcue dof \
  13. double drawf feedback fog fogindex font hello image light \
  14. lines list material mipmap model movelight nurbs pickdepth \
  15. picksquare plane planet polyoff polys quadric robot sccolorlight \
  16. scene scenebamb sceneflat select smooth stencil stroke surface \
  17. teaambient teapots tess tesswind texbind texgen texprox texsub \
  18. texturesurf torus trim unproject varray wrap
  19. ##### RULES #####
  20. .SUFFIXES:
  21. .SUFFIXES: .c
  22. .c: $(LIB_DEP)
  23. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  24. ##### TARGETS ######
  25. default:
  26. @echo "Specify a target configuration"
  27. clean:
  28. -rm *.o *~
  29. realclean:
  30. -rm $(PROGS)
  31. -rm *.o *~
  32. targets: $(PROGS)
  33. # execute all programs
  34. exec: $(PROGS)
  35. @for prog in $(PROGS) ; \
  36. do \
  37. echo -n "Running $$prog ..." ; \
  38. $$prog ; \
  39. echo ; \
  40. done
  41. include ../Make-config