]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/paramodulation/Makefile
removed a comment/bug report about let..in rendering, now fixed
[helm.git] / helm / ocaml / paramodulation / Makefile
1 PACKAGE = paramodulation
2
3 REQUIRES = helm-tactics
4
5 INTERFACE_FILES = \
6         utils.mli \
7         inference.mli 
8
9 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) \
10         trie.ml \
11         path_indexing.ml \
12         discrimination_tree.ml \
13         indexing.ml \
14         saturation.ml 
15
16 #       saturate_main.ml
17 #       test_indexing.ml 
18
19
20 include ../Makefile.common
21
22
23 paramodulation.cmo: $(IMPLEMENTATION_FILES:%.ml=%.cmo)
24         $(OCAMLC) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmo)
25
26 paramodulation.cmx: $(IMPLEMENTATION_FILES:%.ml=%.cmx)
27         $(OCAMLOPT) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmx)
28
29
30 $(ARCHIVE): paramodulation.cmo $(LIBRARIES)
31         $(OCAMLC) $(OCAMLARCHIVEOPTIONS) -a -o $@ \
32                 paramodulation.cmo
33
34 $(ARCHIVE_OPT): paramodulation.cmx $(LIBRARIES_OPT)
35         $(OCAMLOPT) $(OCAMLARCHIVEOPTIONS) -a -o $@ \
36                 paramodulation.cmx
37
38 PARAMOD_OBJS = $(IMPLEMENTATION_FILES:%.ml=%.cmo) \
39         saturate_main.cmo
40 PARAMOD_OBJS_OPT = $(IMPLEMENTATION_FILES:%.ml=%.cmx) \
41         saturate_main.cmx
42
43 saturate: $(PARAMOD_OBJS) $(LIBRARIES)
44         $(OCAMLC) -thread -linkpkg -o $@ $(PARAMOD_OBJS)
45
46 saturate.opt: $(PARAMOD_OBJS_OPT) $(LIBRARIES)
47         $(OCAMLOPT) -thread -linkpkg -o $@ $(PARAMOD_OBJS_OPT)