home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 5 / MA_Cover_5.iso / ppc / mesa / src-tk / makefile.cygnus < prev    next >
Encoding:
Makefile  |  1998-01-31  |  2.0 KB  |  88 lines

  1. # Makefile.cygnus
  2. # Stephane Rehel (rehel@worldnet.fr) April 13 1997
  3.  
  4. # Makefile for tk toolkit
  5.  
  6. # Mesa 3-D graphics library
  7. # Version:  1.2.3
  8. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  9. #
  10. # This library is free software; you can redistribute it and/or
  11. # modify it under the terms of the GNU Library General Public
  12. # License as published by the Free Software Foundation; either
  13. # version 2 of the License, or (at your option) any later version.
  14. #
  15. # This library is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  18. # Library General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU Library General Public
  21. # License along with this library; if not, write to the Free
  22. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23.  
  24.  
  25. # $Id: Makefile,v 1.8 1996/01/19 19:20:40 brianp Exp $
  26.  
  27. # $Log: Makefile,v $
  28. # Revision 1.8  1996/01/19  19:20:40  brianp
  29. # use mv to put libraries in LIBDIR
  30. #
  31. # Revision 1.7  1995/09/19  14:16:54  brianp
  32. # bumped version to 1.2.3
  33. #
  34. # Revision 1.6  1995/08/01  20:52:05  brianp
  35. # modified to use $(MAKELIB)
  36. #
  37. # Revision 1.5  1995/06/21  15:57:46  brianp
  38. # added IRIX 5 DSO and Linux ELF shared library targets
  39. # Release 1.2.1
  40. #
  41. # Revision 1.4  1995/05/22  17:00:00  brianp
  42. # Release 1.2
  43. #
  44. # Revision 1.3  1995/05/15  16:15:30  brianp
  45. # clean up and reorganize
  46. #
  47. # Revision 1.2  1995/04/17  13:44:32  brianp
  48. # added VPATH definition
  49. #
  50. # Revision 1.1  1995/03/26  15:13:07  brianp
  51. # Initial revision
  52. #
  53.  
  54.  
  55. ##### MACROS #####
  56.  
  57. VPATH = RCS
  58.  
  59. INCDIR = ../include
  60. LIBDIR = ../lib
  61.  
  62. OBJECTS = tkwndws.o image.o
  63.  
  64. ##### RULES #####
  65.  
  66. .c.o:
  67.     $(CC) -c -I$(INCDIR) -I$(WING_DIR)/include $(CFLAGS) $<
  68.  
  69. ##### TARGETS #####
  70.  
  71. default:
  72.     @echo "Specify a target configuration"
  73.  
  74. clean:
  75.     -rm *.o *~
  76.  
  77. targets: $(LIBDIR)/$(TK_LIB)
  78.  
  79. # Make the library
  80. $(LIBDIR)/$(TK_LIB): $(OBJECTS)
  81.     $(MAKELIB) $(TK_LIB) $(OBJECTS)
  82.     $(RANLIB) $(TK_LIB)
  83.     mv $(TK_LIB)* $(LIBDIR)
  84.  
  85. include ../Make-config
  86.  
  87.  
  88.