home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume12 / hershtools / part05 / Makefile < prev    next >
Makefile  |  1987-10-24  |  1KB  |  59 lines

  1. .SUFFIXES: .spec .hmp .chr
  2.  
  3. all: cnv h2s
  4.  
  5. cnv:    cnv.c
  6.     cc -O -s -o cnv cnv.c
  7.  
  8. h2s:    h2s.l
  9.     lex h2s.l
  10.     cc -o h2s lex.yy.c -ll
  11.     rm lex.yy.c
  12.  
  13. greekp.spec: greekp.hmp
  14.     rm -f greekp.spec
  15.     echo "base 5" >greekp.spec
  16.     echo "ytop 14" >>greekp.spec
  17.     h2s <greekp.hmp >>greekp.spec
  18.  
  19. romanp.spec: romanp.hmp
  20.     rm -f romanp.spec
  21.     echo "base 5" >romanp.spec
  22.     echo "ytop 14" >>romanp.spec
  23.     h2s <romanp.hmp >>romanp.spec
  24.  
  25. greekcs.spec:    greekcs.hmp
  26.     rm -f greekcs.spec
  27.     echo "base 6" > greekcs.spec
  28.     echo "ytop 10" >> greekcs.spec
  29.     h2s < greekcs.hmp >> greekcs.spec
  30.  
  31. italiccs.spec:    italiccs.hmp
  32.     rm -f italiccs.spec
  33.     echo "base 6" > italiccs.spec
  34.     echo "ytop 10" >> italiccs.spec
  35.     h2s < italiccs.hmp >> italiccs.spec
  36.  
  37. romancs.spec:    romancs.hmp
  38.     rm -f romancs.spec
  39.     echo "base 6" > romancs.spec
  40.     echo "ytop 10" >> romancs.spec
  41.     h2s < romancs.hmp >> romancs.spec
  42.  
  43. .hmp.chr:
  44.     make $*.spec
  45.     rm -f $*.chr
  46.     cnv <$*.spec >$*.chr
  47.  
  48. .hmp.spec:
  49.     rm -f $*.spec
  50.     h2s <$*.hmp >$*.spec
  51.  
  52. occidental:    hersh.oc1 hersh.oc2 hersh.oc3 hersh.oc4
  53.     rm -f occidental
  54.     cat hersh.oc1 hersh.oc2 hersh.oc3 hersh.oc4 >occidental
  55.  
  56. oriental:    hersh.or1 hersh.or2 hersh.or3 hersh.or4
  57.     rm -f oriental
  58.     cat hersh.or1 hersh.or2 hersh.or3 hersh.or4 >oriental
  59.