shithub: martian9

ref: 2e9df13b3aae992797d8b5ed2a189a4154c201fe
dir: /mkfile/

View raw version
BIN=m9

# $BIN: types.cmx env.cmx core.cmx printer.cmx reader.cmx $BIN.cmx
# 	ocamlopt -o $target str.cmxa $prereq

$BIN: types.cmo env.cmo core.cmo printer.cmo reader.cmo $BIN.cmo
	ocamlc -o $target str.cma $prereq

$BIN.cmo : core.cmo printer.cmo reader.cmo
env.cmo printer.cmo reader.cmo : types.cmo
core.cmo : env.cmo

%.cmx : %.ml
	ocamlopt -c $stem.ml

%.cmo : %.ml
	ocamlc -c $stem.ml

install:V: $BIN
	cp $prereq ~/bin/$BIN

clean:V:
	rm -f $BIN *.cmx *.cmi *.cmo