shithub: martian9

ref: a3f06577db37f23d89755dd66e1e6f6b803037d2
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

FILES=\
	types.ml\
	env.ml\
	reader.ml\
	printer.ml\
	core.ml\
	macro.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