shithub: martian9

ref: 271c7847be7a17ea20b84720a4b740255877da6c
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

FILES=\
	utils.ml\
	types.ml\
	env.ml\
	printer.ml\
	macro.ml\
	reader.ml\
	core.ml\
	eval.ml

$BIN:
	ocamlc str.cma -g -o $target $FILES m9.ml

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