blob: d110fd03f915aa66345f126c5b1d74ba11e3d16a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id$
OCAMLC = ocamlc -I ..
OCAMLMLI = ocamlc -I ..
OCAMLOPT = ocamlopt
OCAMLDEP=ocamldep
all: ivyprobe.out glibivyprobe.out
ivyprobe.out : ivyprobe.cmo ivyivyprobe.cmo
$(OCAMLC) -custom -o $@ unix.cma ivy-ocaml.cma $^
glibivyprobe.out : ivyprobe.cmo glibivyprobe.cmo
$(OCAMLC) -custom -o $@ unix.cma glibivy-ocaml.cma $^
#tkivyprobe.out : ivyprobe.cmo tkivyprobe.cmo
# $(OCAMLC) -custom -o $@ unix.cma -I +labltk labltk.cma -I . $^
#tkivyprobe.cmo : OCAMLFLAGS=-I +labltk
%.cmo : %.ml
$(OCAMLC) -c $<
clean:
\rm -f *.cm* *.o *.a .depend *~ *.out *.opt .depend *.so
.depend:
$(OCAMLDEP) $(INCLUDES) *.mli *.ml > .depend
include .depend
|