shithub: martian9

ref: 02e52de48838943242250b85d2bf23c97755111f
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

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