1 TOPDIR=../..
2 COMPFLAGS=-I $(OTOPDIR)/otherlibs/str -I $(OTOPDIR)/otherlibs/unix
3 include $(TOPDIR)/Makefile.tools
4
5 all: texquote2 transf
6
7
8 transf: transf.cmo htmltransf.cmo transfmain.cmo
9 $(OCAMLC) -o $@ -g $^
10
11 transfmain.cmo: transf.cmo htmltransf.cmo
12
13 texquote2: texquote2.ml
14 $(OCAMLC) -o $@ $<
15
16 %.cmo: %.ml
17 $(OCAMLC) -c $<
18
19 %.cmi: %.mli
20 $(OCAMLC) -c $<
21
22 %.ml: %.mll
23 $(OCAMLLEX) $<
24
25
26 .PHONY: clean
27 clean:
28 rm -f *.o *.cm? *.cmx?
29 rm -f transf.ml htmltransf.ml
30 rm -f texquote2 transf
31