Source

project-euler / OCaml / Makefile

Full commit
ML_SOURCE=$(wildcard *.ml)
OCAML_BYTECODE=$(patsubst %.ml,%.out,$(ML_SOURCE))
OCAMLC=/opt/ocaml/bin/ocamlc

all:	$(OCAML_BYTECODE)

%.out:	%.ml
	$(OCAMLC) -o $@ $^

clean:
	rm -f *.out *.cm[io]