summaryrefslogtreecommitdiffstats
path: root/Make.rules.in
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-04-15 18:30:49 +0100
committerRichard W.M. Jones <rjones@redhat.com>2008-04-15 18:30:49 +0100
commit81294675f6a5058a3381871f1dc99c806922d77c (patch)
tree63e8e8bcf5955405749559b45e39e2fc556bdc10 /Make.rules.in
parentb9320ec4678a8a7bb88a8b8aa72805b79ce48daf (diff)
downloadvirt-top-81294675f6a5058a3381871f1dc99c806922d77c.tar.gz
virt-top-81294675f6a5058a3381871f1dc99c806922d77c.tar.xz
virt-top-81294675f6a5058a3381871f1dc99c806922d77c.zip
Metadata parser.
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