home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / gsview13 / epstool / makefile.unx < prev   
Makefile  |  1995-12-09  |  1KB  |  51 lines

  1. # Copyright (C) 1993, 1994, Russell Lang.  All rights reserved.
  2. #  
  3. # This file is part of GSview.
  4. #  
  5. # This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6. # or distributor accepts any responsibility for the consequences of using it,
  7. # or for whether it serves any particular purpose or works at all, unless he
  8. # or she says so in writing.  Refer to the GSview Free Public Licence 
  9. # (the "Licence") for full details.
  10. #  
  11. # Every copy of GSview must include a copy of the Licence, normally in a 
  12. # plain ASCII text file named LICENCE.  The Licence grants you the right 
  13. # to copy, modify and redistribute GSview, but only under certain conditions 
  14. # described in the Licence.  Among other things, the Licence requires that 
  15. # the copyright notice and this notice be preserved on all copies.
  16.  
  17. # makefile.unx
  18. # EPSTOOL
  19.  
  20. OBJ=o
  21. COMP=gcc
  22. # need to add flag to cause structures to be byte aligned.
  23. # Not sure what flag should be used
  24. FLAGS=
  25.  
  26. OBJS=epstool.$(OBJ) gvceps.$(OBJ) ps.$(OBJ)
  27.  
  28. all: epstool
  29.  
  30. .c.$(OBJ):
  31.     $(COMP) $(FLAGS) -DUNIX -DEPSTOOL -c $*.c
  32.  
  33.  
  34. epstool.$(OBJ): epstool.c epstool.h ps.h
  35.  
  36. ps.$(OBJ): ps.c epstool.h ps.h
  37.  
  38. gvceps.$(OBJ): gvceps.c epstool.h ps.h
  39.  
  40. epstool: $(OBJS)
  41.     $(COMP) $(FLAGS) -o epstool $(OBJS)
  42.  
  43. clean:
  44.     -del epstool.$(OBJ)
  45.     -del gvceps.$(OBJ)
  46.     -del ps.$(OBJ)
  47.  
  48. veryclean: clean
  49.     -del epstool
  50.  
  51.