You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
749 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. all: fastrecordparser recordparser regionparser
  2. .PHONY : fastrecordparser
  3. .PHONY : recordparser
  4. .PHONY : regionparser
  5. fastrecordparser:
  6. ragel sam_alignment.rl -D -G2
  7. ./workarounds/fix_switch_case_fallthrough.sh sam_alignment.d
  8. echo 'module bio.sam.utils.fastrecordparser;' | cat - sam_alignment.d > .sam_alignment.d.tmp
  9. rm sam_alignment.d
  10. mv .sam_alignment.d.tmp fastrecordparser.d
  11. recordparser:
  12. ragel sam_alignment.rl -D
  13. ./workarounds/fix_static_const.sh sam_alignment.d
  14. echo 'module bio.sam.utils.recordparser;' | cat - sam_alignment.d > .sam_alignment.d.tmp
  15. rm sam_alignment.d
  16. mv .sam_alignment.d.tmp recordparser.d
  17. regionparser:
  18. ragel region.rl -D
  19. ./workarounds/fix_static_const.sh region.d
  20. clean:
  21. rm -f *parser.d region.d