Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.X11 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # $Id: Makefile.X11,v 1.14 2000/06/27 16:54:18 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.3
  4. # Copyright (C) 1995-2000 Brian Paul
  5. # Makefile for GLUT-based demo programs for Unix/X11
  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 = bounce \
  12. clearspd \
  13. cubemap \
  14. drawpix \
  15. fire \
  16. gamma \
  17. gears \
  18. geartrain \
  19. glinfo \
  20. gloss \
  21. gltestperf \
  22. glutfx \
  23. isosurf \
  24. ipers \
  25. lodbias \
  26. morph3d \
  27. multiarb \
  28. occlude \
  29. osdemo \
  30. paltex \
  31. pixeltex \
  32. pointblast \
  33. ray \
  34. readpix \
  35. reflect \
  36. renormal \
  37. spectex \
  38. stex3d \
  39. teapot \
  40. terrain \
  41. tessdemo \
  42. texcyl \
  43. texdown \
  44. texenv \
  45. texobj \
  46. trispd \
  47. tunnel \
  48. tunnel2 \
  49. winpos
  50. ##### RULES #####
  51. .SUFFIXES:
  52. .SUFFIXES: .c
  53. .c: $(LIB_DEP)
  54. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  55. ##### TARGETS #####
  56. default:
  57. @echo "Specify a target configuration"
  58. clean:
  59. -rm *.o *~
  60. realclean:
  61. -rm $(PROGS)
  62. -rm *.o *~
  63. targets: $(PROGS)
  64. # execute all programs
  65. exec: $(PROGS)
  66. @for prog in $(PROGS) ; \
  67. do \
  68. echo -n "Running $$prog ..." ; \
  69. $$prog ; \
  70. echo ; \
  71. done
  72. include ../Make-config