home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 23_meref / makefile next >
Encoding:
Makefile  |  1986-04-17  |  568 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=    ref.me
  9. DEVICE=    dp
  10. TROFF=    ditroff -P${DEVICE}
  11.  
  12. paper:    ref.${DEVICE}
  13.     lpr -P${DEVICE} -n ref.${DEVICE}
  14.  
  15. ref.${DEVICE}: ${SRCS}
  16.     ${TROFF} -me -t ${SRCS} > ref.${DEVICE}
  17.  
  18. clean:
  19.     rm -f ref.${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.