shithub: martian9

ref: cc10399b3b05fc3fcda7f04afe9b34fffa7f743a
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

%.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