home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1070 / Makefile < prev    next >
Encoding:
Makefile  |  1990-12-28  |  1.2 KB  |  52 lines

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