shithub: martian9

ref: bfe18062adfcad6af73f1b5ab204763df12649a6
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

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