]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/getter/Makefile
HELM OCaml libraries with findlib support.
[helm.git] / helm / ocaml / getter / Makefile
1 BIN_DIR = /usr/local/bin
2 REQUIRES = pxp netclient helm-urimanager pxp netclient
3 PREDICATES =
4 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
5 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
6 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
7 OCAMLDEP = ocamldep
8
9 all: clientHTTP.cmo getter.cmo configuration.cmo
10 opt: clientHTTP.cmx getter.cmx configuration.cmx
11
12 DEPOBJS = clientHTTP.mli clientHTTP.ml getter.mli getter.ml configuration.ml
13
14 depend:
15         $(OCAMLDEP) $(DEPOBJS) > .depend
16
17 .SUFFIXES: .ml .mli .cmo .cmi .cmx
18 .ml.cmo:
19         $(OCAMLC) -c $<
20 .mli.cmi:
21         $(OCAMLC) -c $<
22 .ml.cmx:
23         $(OCAMLOPT) -c $<
24
25 clean:
26         rm -f *.cm[iox]
27
28 install:
29         #cp
30
31 uninstall:
32         #rm -f
33
34 .PHONY: install uninstall clean
35
36 include .depend