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

all: fastrecordparser recordparser regionparser
.PHONY : fastrecordparser
.PHONY : recordparser
.PHONY : regionparser
fastrecordparser:
ragel sam_alignment.rl -D -G2
./workarounds/fix_switch_case_fallthrough.sh sam_alignment.d
echo 'module bio.sam.utils.fastrecordparser;' | cat - sam_alignment.d > .sam_alignment.d.tmp
rm sam_alignment.d
mv .sam_alignment.d.tmp fastrecordparser.d
recordparser:
ragel sam_alignment.rl -D
./workarounds/fix_static_const.sh sam_alignment.d
echo 'module bio.sam.utils.recordparser;' | cat - sam_alignment.d > .sam_alignment.d.tmp
rm sam_alignment.d
mv .sam_alignment.d.tmp recordparser.d
regionparser:
ragel region.rl -D
./workarounds/fix_static_const.sh region.d
clean:
rm -f *parser.d region.d