Clone of mesa.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile.BeOS-R4 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # $Id: Makefile.BeOS-R4,v 1.1 1999/08/19 00:55:40 jtg Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1999 Brian Paul
  5. #
  6. # This library is free software; you can redistribute it and/or
  7. # modify it under the terms of the GNU Library General Public
  8. # License as published by the Free Software Foundation; either
  9. # version 2 of the License, or (at your option) any later version.
  10. #
  11. # This library is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. # Library General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU Library General Public
  17. # License along with this library; if not, write to the Free
  18. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. # Makefile for GLUT-based demo programs for BeOS R4
  20. # $Log: Makefile.BeOS-R4,v $
  21. # Revision 1.1 1999/08/19 00:55:40 jtg
  22. # Initial revision
  23. #
  24. # Revision 1.5 1999/06/22 12:50:11 brianp
  25. # removed multitex demo
  26. #
  27. # Revision 1.4 1999/02/03 03:57:26 brianp
  28. # replace multiext with multiarb
  29. #
  30. # Revision 1.3 1999/02/02 04:47:45 brianp
  31. # removed glutfx from targets
  32. #
  33. # Revision 1.2 1999/02/02 04:46:23 brianp
  34. # removed tessdemo from targets
  35. #
  36. # Revision 1.1 1999/02/02 04:43:27 brianp
  37. # Initial revision
  38. #
  39. ##### MACROS #####
  40. INCDIR = ../include
  41. LIBDIR = ../lib
  42. GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lMesaGLU -lMesaGL $(XLIBS)
  43. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  44. PROGS = bounce clearspd drawpix gamma gears glinfo isosurf \
  45. morph3d multiarb osdemo paltex pointblast reflect \
  46. renormal spectex stex3d texcyl texobj trispd winpos
  47. ##### RULES #####
  48. .SUFFIXES:
  49. .SUFFIXES: .c
  50. .c: $(LIB_DEP)
  51. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  52. ##### TARGETS #####
  53. default:
  54. @echo "Specify a target configuration"
  55. clean:
  56. -rm *.o *~
  57. realclean:
  58. -rm $(PROGS)
  59. -rm *.o *~
  60. targets: $(PROGS)
  61. # execute all programs
  62. exec: $(PROGS)
  63. @for prog in $(PROGS) ; \
  64. do \
  65. echo -n "Running $$prog ..." ; \
  66. $$prog ; \
  67. echo ; \
  68. done
  69. include ../Make-config