aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
blob: fe4cb481371f7b63da034d5f6b93211c2490d042 (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
# $Id$

OCAMLC = ocamlc -I .. 
OCAMLMLI = ocamlc -I .. 
OCAMLOPT = ocamlopt
OCAMLDEP=ocamldep

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