git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo fixed.
[virt-top.git]
/
Make.rules.in
diff --git
a/Make.rules.in
b/Make.rules.in
old mode 100755
(executable)
new mode 100644
(file)
index
6a56728
..
a25d485
--- a/
Make.rules.in
+++ b/
Make.rules.in
@@
-40,6
+40,11
@@
else
$(OCAMLOPT) $(OCAMLOPTFLAGS) $(OCAMLOPTINCS) -c $<
endif
$(OCAMLOPT) $(OCAMLOPTFLAGS) $(OCAMLOPTINCS) -c $<
endif
+%.ml %.mli: %.mly
+ ocamlyacc $<
+.mll.ml:
+ ocamllex $<
+
# Dependencies.
depend: .depend
# Dependencies.
depend: .depend
@@
-47,11
+52,11
@@
depend: .depend
ifneq ($(OCAMLFIND),)
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f .depend
ifneq ($(OCAMLFIND),)
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f .depend
- $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) $^ > $@
+ $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) $
(OCAMLDEPFLAGS) $
^ > $@
else
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f .depend
else
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f .depend
- $(OCAMLDEP) $(OCAMLCINCS) $^ > $@
+ $(OCAMLDEP) $(OCAMLCINCS) $
(OCAMLDEPFLAGS) $
^ > $@
endif
ifeq ($(wildcard .depend),.depend)
endif
ifeq ($(wildcard .depend),.depend)
@@
-60,4
+65,4
@@
endif
.PHONY: depend dist check-manifest dpkg doc
.PHONY: depend dist check-manifest dpkg doc
-.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll
+.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll
.mly