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

  1. # Makefile for tk toolkit
  2. # NeXTSTEP Version provided by pascal thibaudeau
  3. # (pthibaud@frbdx11.cribx1.u-bordeaux.fr)
  4.  
  5. # Mesa 3-D graphics library
  6. # Version:  1.2.8
  7. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  8. #
  9. # This library is free software; you can redistribute it and/or
  10. # modify it under the terms of the GNU Library General Public
  11. # License as published by the Free Software Foundation; either
  12. # version 2 of the License, or (at your option) any later version.
  13. #
  14. # This library is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17. # Library General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Library General Public
  20. # License along with this library; if not, write to the Free
  21. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22.  
  23.  
  24. # $Id: Makefile,v 1.1 1996/01/19 19:20:40 brianp Exp $
  25.  
  26. # Revision 1.1  1996/03/26  15:13:07 pascal 
  27. # Initial revision
  28. #
  29.  
  30.  
  31. ##### MACROS #####
  32.  
  33. VPATH = RCS
  34.  
  35. INCDIR = ../include
  36. LIBDIR = ../lib
  37.  
  38. OBJECTS = font.o image.o shapes.o
  39.  
  40.  
  41.  
  42. ##### RULES #####
  43.  
  44. .c.o:
  45.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  46.  
  47.  
  48.  
  49. ##### TARGETS #####
  50.  
  51. default:
  52.     @echo "Specify a target configuration"
  53.  
  54. clean:
  55.     -rm *.o *~
  56.  
  57. targets: $(LIBDIR)/$(TK_LIB)
  58.  
  59. # Make the library
  60. $(LIBDIR)/$(TK_LIB): $(OBJECTS)
  61.     $(MAKELIB) $(TK_LIB) $(OBJECTS)
  62.     $(RANLIB) $(TK_LIB)
  63.     mv $(TK_LIB)* $(LIBDIR)
  64.  
  65. include ../Make-config
  66.  
  67.  
  68.