home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 223.lha / AsciiToPostScriptII / Makefile.unix < prev    next >
Makefile  |  1989-03-29  |  1KB  |  48 lines

  1. #
  2. # Description: Makefile to construct and install a2ps. Don't forget
  3. # to give your own values to define variables HEADER_PS and name of
  4. # compiler (see OPTIONS).
  5. #
  6. # File: imag:/users/local/a2ps/Makefile
  7. # Created: Mon Nov 29 14:05:39 1988 by miguel@imag (Miguel Santana)
  8. # Version: 2.0
  9. #
  10.  
  11. # Copyright (c) 1988, Miguel Santana, miguel@imag.imag.fr
  12. #
  13. # Permission is granted to copy and distribute this file in modified
  14. # or unmodified form, whether for noncommercial or commercial use,
  15. # provided (a) this copyright notice is preserved, (b) no attempt is
  16. # made to restrict redistribution of this file, and (c) this file is
  17. # not distributed as part of any collection whose redistribution is
  18. # restricted by a compilation copyright.
  19. #
  20.  
  21. D       =.
  22.  
  23. O       =.
  24.  
  25. I       =/users/local/a2ps
  26.  
  27. OPTIONS =-DHEADER_PS="\"$I/a2ps.ps\"" -DUNIX -O
  28.  
  29. OBJS          = a2ps.o
  30.  
  31. all:            a2ps install
  32.  
  33. a2ps:           a2ps.o
  34.                 @echo -n "Compiling and linking a2ps ... "
  35.                 @cc -o $D/xa2ps a2ps.o
  36.                 @echo "done"
  37.  
  38. install:;       @echo -n "Installing a2ps ... "
  39.                 @cp xa2ps $I/a2ps
  40.                 @cp a2ps.ps $I/a2ps.ps
  41.                 @echo "done"
  42.  
  43. clean:;         @rm -f $(OBJS)
  44.  
  45. a2ps.o:;
  46.                 cc -c $(OPTIONS) a2ps.c
  47.  
  48.