aboutsummaryrefslogtreecommitdiff
path: root/src/nbc/Makefile
diff options
context:
space:
mode:
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