%DRAWLIB = /home/mr/distribution/BCPL/cintcode/g/bdrawlib.b

<file>.png <=
  <file>.b plotflow.h
<<
bcpl <file>.b to <file>
<file>
shellcom "rm -f <file> <file>.png"
shellcom "ffmpeg -i junk.bmp <file>.png"
shellcom "rm -f junk.bmp"
>>

run <=
  prog.png
  sym-prog.png
  statement.png
  sym-statement.png
  bexp.png
  sym-bexp.png
  exp.png
  sym-exp.png
<<
echo "All done*n"
>>

clean <=
<<
shellcom "rm -f bexp.b~"
shellcom "rm -f bmakefile~"
shellcom "rm -f Makefile~"
shellcom "rm -f bexp bexp.png sym-bexp sym-bexp.png"
shellcom "rm -f exp bexp.png sym-exp sym-exp.png"
>>







