shithub: martian9

ref: 0560b9b189c123d48e91231a3adf15016c0a49d9
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