home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 22_memacro / makefile < prev   
Encoding:
Makefile  |  1986-04-17  |  580 b   |  25 lines

  1. #
  2. # Copyright (c) 1986 Regents of the University of California.
  3. # All rights reserved.  The Berkeley software License Agreement
  4. # specifies the terms and conditions for redistribution.
  5. #
  6. #    @(#)Makefile    6.2 (Berkeley) 4/16/86
  7. #
  8. SRCS=    intro.me
  9. DEVICE=    dp
  10. TROFF=    ditroff -P${DEVICE}
  11.  
  12. paper:    intro.${DEVICE}
  13.     lpr -P${DEVICE} -n intro.${DEVICE}
  14.  
  15. intro.${DEVICE}: ${SRCS}
  16.     ${TROFF} -me -t ${SRCS} > intro.${DEVICE}
  17.  
  18. clean:
  19.     rm -f intro.${DEVICE} *.spell errs Errs make.out
  20.  
  21. spell:    ${SRCS}
  22.     @for i in ${SRCS}; do \
  23.         echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
  24.     done
  25.