# make validate: make bytecode executable # make validate.opt: make native executable # make clean: remove intermediate files (in this directory) # make CLEAN: remove intermediate files (recursively) # make distclean: remove any superflous files (recursively) #---------------------------------------------------------------------- OCAMLPATH=../.. compile: compile.ml ocamlfind ocamlc -g -custom -o compile -package .,str -linkpkg compile.ml #---------------------------------------------------------------------- .PHONY: all all: .PHONY: clean clean: rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa sample sample.ml out1 out2 .PHONY: CLEAN CLEAN: clean .PHONY: distclean distclean: clean rm -f *~ rm -f compile