ocaml
Version:
OCaml Compiler as an esy npm Package
31 lines (20 loc) • 490 B
Plain Text
TOPDIR=../..
COMPFLAGS=-I $(OTOPDIR)/otherlibs/str -I $(OTOPDIR)/otherlibs/unix
include $(TOPDIR)/Makefile.tools
all: texquote2 transf
transf: transf.cmo htmltransf.cmo transfmain.cmo
$(OCAMLC) -o $@ -g $^
transfmain.cmo: transf.cmo htmltransf.cmo
texquote2: texquote2.ml
$(OCAMLC) -o $@ $<
%.cmo: %.ml
$(OCAMLC) -c $<
%.cmi: %.mli
$(OCAMLC) -c $<
%.ml: %.mll
$(OCAMLLEX) $<
clean:
rm -f *.o *.cm? *.cmx?
rm -f transf.ml htmltransf.ml
rm -f texquote2 transf