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.cygnus 1.8KB

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