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

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