home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / mesa-1.2.8 / src-tk / makefile < prev    next >
Makefile  |  1996-05-27  |  2KB  |  89 lines

  1. # Makefile for tk toolkit
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  1.2.3
  5. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  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.  
  21.  
  22. # $Id: Makefile,v 1.8 1996/01/19 19:20:40 brianp Exp $
  23.  
  24. # $Log: Makefile,v $
  25. # Revision 1.8  1996/01/19  19:20:40  brianp
  26. # use mv to put libraries in LIBDIR
  27. #
  28. # Revision 1.7  1995/09/19  14:16:54  brianp
  29. # bumped version to 1.2.3
  30. #
  31. # Revision 1.6  1995/08/01  20:52:05  brianp
  32. # modified to use $(MAKELIB)
  33. #
  34. # Revision 1.5  1995/06/21  15:57:46  brianp
  35. # added IRIX 5 DSO and Linux ELF shared library targets
  36. # Release 1.2.1
  37. #
  38. # Revision 1.4  1995/05/22  17:00:00  brianp
  39. # Release 1.2
  40. #
  41. # Revision 1.3  1995/05/15  16:15:30  brianp
  42. # clean up and reorganize
  43. #
  44. # Revision 1.2  1995/04/17  13:44:32  brianp
  45. # added VPATH definition
  46. #
  47. # Revision 1.1  1995/03/26  15:13:07  brianp
  48. # Initial revision
  49. #
  50.  
  51.  
  52. ##### MACROS #####
  53.  
  54. VPATH = RCS
  55.  
  56. INCDIR = ../include
  57. LIBDIR = ../lib
  58.  
  59. OBJECTS = cursor.o event.o font.o getset.o image.o shapes.o window.o
  60.  
  61.  
  62.  
  63. ##### RULES #####
  64.  
  65. .c.o:
  66.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  67.  
  68.  
  69.  
  70. ##### TARGETS #####
  71.  
  72. default:
  73.     @echo "Specify a target configuration"
  74.  
  75. clean:
  76.     -rm *.o *~
  77.  
  78. targets: $(LIBDIR)/$(TK_LIB)
  79.  
  80. # Make the library
  81. $(LIBDIR)/$(TK_LIB): $(OBJECTS)
  82.     $(MAKELIB) $(TK_LIB) $(OBJECTS)
  83.     $(RANLIB) $(TK_LIB)
  84.     mv $(TK_LIB)* $(LIBDIR)
  85.  
  86. include ../Make-config
  87.  
  88.  
  89.