aboutsummaryrefslogtreecommitdiff
path: root/src/nbc/Makefile
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-03-15 15:26:20 -0400
committerCalvin <calvin@EESI>2013-03-15 15:26:20 -0400
commitb632667ce57af89691407bb8668e1512775278ae (patch)
treeb5742cef185f1cc4a7ba6005b5b4116ce7558a01 /src/nbc/Makefile
parent39e39f82cc38d71018882b0aaaf58255858a7c56 (diff)
nbc added
Diffstat (limited to 'src/nbc/Makefile')
-rw-r--r--src/nbc/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nbc/Makefile b/src/nbc/Makefile
new file mode 100644
index 0000000..4f9c324
--- /dev/null
+++ b/src/nbc/Makefile
@@ -0,0 +1,16 @@
+MLTON = mlton
+MLYACC = mlyacc
+MLLEX = mllex
+%.grm.sig %.grm.sml: %.grm
+ $(MLYACC) $^
+%.lex.sml: %.lex
+ $(MLLEX) $^
+%: %.mlb
+ $(MLTON) $(MLTONFLAGS) -output $@ $^
+all: count probabilities-by-read
+count: count.mlb
+probabilities-by-read: probabilities-by-read.mlb
+score: score.mlb
+tabulate: tabulate.mlb
+clean:
+ rm -f count probabilities-by-read