summaryrefslogtreecommitdiffstats
path: root/Make.rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'Make.rules.in')
-rw-r--r--Make.rules.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Make.rules.in b/Make.rules.in
index b22fdf6..a25d485 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -40,6 +40,11 @@ else
$(OCAMLOPT) $(OCAMLOPTFLAGS) $(OCAMLOPTINCS) -c $<
endif
+%.ml %.mli: %.mly
+ ocamlyacc $<
+.mll.ml:
+ ocamllex $<
+
# Dependencies.
depend: .depend
@@ -60,4 +65,4 @@ endif
.PHONY: depend dist check-manifest dpkg doc
-.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll
+.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly