1 REQUIRES = helm-getter helm-cic_cache helm-xml
3 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o
6 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS)
7 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
9 LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES))
10 LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES))
15 DEPOBJS = cic2Xml.ml cicFindParameters.ml fix_params.ml
17 FIXPARAMSOBJS = cic2Xml.cmo cicFindParameters.cmo fix_params.cmo
20 $(OCAMLDEP) $(DEPOBJS) > .depend
22 fix_params: $(FIXPARAMSOBJS) $(LIBRARIES)
23 $(OCAMLC) -linkpkg -o fix_params $(FIXPARAMSOBJS)
25 fix_params.opt: $(FIXPARAMSOBJS:.cmo=.cmx) $(LIBRARIES_OPT)
26 $(OCAMLOPT) -linkpkg -o fix_params.opt $(FIXPARAMSOBJS:.cmo=.cmx)
28 .SUFFIXES: .ml .mli .cmo .cmi .cmx
31 .mli.cmi: $(LIBRARIES)
33 .ml.cmx: $(LIBRARIES_OPT)
37 rm -f *.cm[iox] *.o fix_params fix_params.opt