shithub: martian9

ref: 5fa933a00fd0a280221439c54a246600d454ecc7
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