home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / Triton / Source / demos / Makefile < prev    next >
Makefile  |  1998-05-23  |  1KB  |  54 lines

  1. #
  2. #  OpenTriton -- A free release of the triton.library source code
  3. #  Copyright (C) 1993-1998  Stefan Zeiger
  4. #
  5. #  This program is free software; you can redistribute it and/or modify
  6. #  it under the terms of the GNU General Public License as published by
  7. #  the Free Software Foundation; either version 2 of the License, or
  8. #  (at your option) any later version.
  9. #
  10. #  This program is distributed in the hope that it will be useful,
  11. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. #  GNU General Public License for more details.
  14. #
  15. #  You should have received a copy of the GNU General Public License
  16. #  along with this program; if not, write to the Free Software
  17. #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. #
  19. #  Makefile - Makefile for gcc
  20. #
  21.  
  22.  
  23. CC    = gcc
  24.  
  25. CFLAGS    = -O2
  26.  
  27. LFLAGS    = -ltriton -lauto
  28.  
  29. all:    Demo EnvPrint trLogo ToolManager1 ToolManager2 ToolManager3 ProgInd CustomClass
  30.  
  31. Demo: Demo.c
  32.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  33.  
  34. EnvPrint: EnvPrint.c
  35.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  36.  
  37. trLogo: trLogo.c
  38.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  39.  
  40. ToolManager1: ToolManager1.c
  41.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  42.  
  43. ToolManager2: ToolManager2.c
  44.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  45.  
  46. ToolManager3: ToolManager3.c
  47.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  48.  
  49. ProgInd: ProgInd.c
  50.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS)
  51.  
  52. CustomClass: CustomClass.c
  53.     $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) -Lm
  54.