Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # $Header$
  2. SUF=pr
  3. PRINT=cat
  4. NROFF=nroff
  5. TBL=tbl
  6. EQN=eqn
  7. MS=-ms
  8. RESFILES= \
  9. toolkit.$(SUF) install.$(SUF) ack.$(SUF) v7bugs.$(SUF) \
  10. peep.$(SUF) cg.$(SUF) ncg.$(SUF) regadd.$(SUF) LLgen.$(SUF) \
  11. basic.$(SUF) cref.$(SUF) pcref.$(SUF) val.$(SUF) \
  12. 6500.$(SUF) i80.$(SUF) z80.$(SUF)
  13. cref.$(SUF): cref.doc
  14. $(TBL) $? | $(NROFF) >$@
  15. v7bugs.$(SUF): v7bugs.doc
  16. $(NROFF) $(MS) $? >$@
  17. ack.$(SUF): ack.doc
  18. $(NROFF) $(MS) $? >$@
  19. cg.$(SUF): cg.doc
  20. $(NROFF) $(MS) $? >$@
  21. ncg.$(SUF): ncg.doc
  22. $(TBL) $? | $(NROFF) $(MS) >$@
  23. regadd.$(SUF): regadd.doc
  24. $(NROFF) $(MS) $? >$@
  25. install.$(SUF): install.doc
  26. $(TBL) $? | $(NROFF) $(MS) >$@
  27. pcref.$(SUF): pcref.doc
  28. $(NROFF) $? >$@
  29. basic.$(SUF): basic.doc
  30. $(NROFF) $(MS) $? >$@
  31. peep.$(SUF): peep.doc
  32. $(NROFF) $(MS) $? >$@
  33. val.$(SUF): val.doc
  34. $(NROFF) $? >$@
  35. toolkit.$(SUF): toolkit.doc
  36. $(NROFF) $(MS) $? >$@
  37. LLgen.$(SUF): LLgen.doc
  38. $(EQN) $? | $(TBL) | $(NROFF) $(MS) >$@
  39. 6500.$(SUF): 6500.doc
  40. $(TBL) $? | $(NROFF) $(MS) >$@
  41. i80.$(SUF): i80.doc
  42. $(NROFF) $(MS) $? >$@
  43. z80.$(SUF): z80.doc
  44. $(NROFF) $(MS) $? >$@
  45. install cmp:
  46. distr: install.doc
  47. tbl install.doc | nroff -Tlp $(MS) >install.pr
  48. pr:
  49. @make "SUF="$(SUF) "NROFF="$(NROFF) \
  50. $(RESFILES) >make.pr.out 2>&1
  51. @$(PRINT) $(RESFILES)
  52. opr:
  53. make pr | opr
  54. clean:
  55. -rm -f *.old $(RESFILES) *.t *.out