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

  1. # Makefile for tk toolkit for DOS using djgpp
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  2.3
  5. # Copyright (C) 1995-1997  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.  
  21.  
  22. ##### MACROS #####
  23.  
  24. VPATH = RCS
  25.  
  26. INCDIR = ../include
  27. LIBDIR = ..\lib
  28.  
  29. #OBJECTS = cursor.o event.o font.o getset.o image.o shapes.o window.o
  30. OBJECTS = font.o image.o shapes.o tkdos.o
  31.  
  32.  
  33.  
  34. ##### RULES #####
  35.  
  36. .c.o:
  37.     gcc -c -m486 -O3 -DDOSVGA -I$(INCDIR) $(CFLAGS) $<
  38.  
  39. ##### TARGETS #####
  40.  
  41. TK_LIB = tkdos.a
  42.  
  43. default: $(LIBDIR)/$(TK_LIB)
  44.  
  45. clean:
  46.     -del *.o
  47.  
  48. # Make the library
  49. $(LIBDIR)/$(TK_LIB): $(OBJECTS)
  50.     AR ruv $(TK_LIB) $(OBJECTS)
  51.     copy $(TK_LIB) $(LIBDIR)\$(TK_LIB)
  52.  
  53.  
  54.