Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f512f9b30f
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (21 sloc) 0.631 kb
objects= expr.cmo parser.cmo lexer.cmo eval.cmo main.cmo
packages= postgresql str.cma
yadi: $(objects)
ocamlfind ocamlc -package $(packages) -thread -linkpkg $(objects) -o yadi
parser.ml: parser.mly expr.cmi
ocamlyacc $<
parser.cmi: parser.mli
ocamlc -c parser.mli
parser.cmo: parser.ml parser.cmi
ocamlc -c parser.ml
lexer.ml: lexer.mll parser.cmi expr.cmi
ocamllex $<
main.cmo: main.ml expr.cmo eval.cmo parser.cmo lexer.cmo
ocamlfind ocamlc -package $(packages) -thread -c main.ml
%.cmo: %.ml
ocamlc -c $<
%.cmi: %ml
ocamlc -c $<
eval.cmo: expr.cmo
clean :
rm *.cmo *.cmi lexer.ml parser.ml parser.mli
Jump to Line
Something went wrong with that request. Please try again.