How to compile every ml files to independent plugins by using OcamlMakefile?

How to compile every ml files in one directory to independent plugins by using OcamlMakefile?

How to write the Makefile in a concise way?