summaryrefslogtreecommitdiff
path: root/gnu.ocaml.rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gnu.ocaml.rules.mk')
-rw-r--r--gnu.ocaml.rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu.ocaml.rules.mk b/gnu.ocaml.rules.mk
index 1d1cbc5..a259208 100644
--- a/gnu.ocaml.rules.mk
+++ b/gnu.ocaml.rules.mk
@@ -22,3 +22,7 @@
$(OCAMLC) $(OCAMLFLAGS) -c $<
%.cmx: %.ml
$(OCAMLC) $(OCAMLFLAGS) -c $<
+%.ml: %.mll
+ $(OCAMLLEX) $(OCAMLLEXFLAGS) $<
+%.ml: %.mly
+ $(MENHIR) $(MENHIRFLAGS) $<