# \#ocamlmakefile

**URL:** https://discuss.ocaml.org/tag/ocamlmakefile/152.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Bytecode executable generated in Linux is not compatible with Windows 64 bit](https://discuss.ocaml.org/t/bytecode-executable-generated-in-linux-is-not-compatible-with-windows-64-bit/3368)

<div class="topic-metadata">

**Author:** [@Tie\_Cheng](https://discuss.ocaml.org/u/Tie_Cheng)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 4:55pm UTC](https://discuss.ocaml.org/t/bytecode-executable-generated-in-linux-is-not-compatible-with-windows-64-bit/3368 "2019-02-19T16:55:11Z")

</div>

Hello, I have a project in OCaml. It is used mainly in a Linux environment, but it happens that I need to run the executable generated in a Windows server. I remember vaguely that, several years ago, I could compile th…

---

## [How to compile every ml files to independent plugins by using OcamlMakefile?](https://discuss.ocaml.org/t/how-to-compile-every-ml-files-to-independent-plugins-by-using-ocamlmakefile/757)

<div class="topic-metadata">

**Author:** [@Yuren-Zhong](https://discuss.ocaml.org/u/Yuren-Zhong)\
**Replies:** 0\
**Last updated:** [August 23, 2017, 3:56pm UTC](https://discuss.ocaml.org/t/how-to-compile-every-ml-files-to-independent-plugins-by-using-ocamlmakefile/757 "2017-08-23T15:56:32Z")

</div>

How to compile every ml files in one directory to independent plugins by using OcamlMakefile? How to write the Makefile in a concise way?
