shithub: martian9

ref: bdb99b496ec68880effa7df50fb4b05e7c1799bc
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