<div dir="ltr">(originally posted on clangd-dev <a href="http://lists.llvm.org/pipermail/clangd-dev/2019-March/000358.html">here</a>)<div><br></div><div>Hi all,<div><br></div><div>As a learning exercise I am trying to compile clangd as a WebAssembly target, with the eventual goal of using it as a Language Server in conjunction with <a href="https://microsoft.github.io/monaco-editor/" target="_blank">monaco</a>, the code editor behind Visual Studio Code.</div><div><br></div><div>So far I've successfully built all combinations of LLVM, clang and clangd on macOS and Ubuntu. The build system is very easy to use, but rather complex to understand for someone with limited experience like myself.</div><div><br></div><div>Are there any pointers to help me better understand clangd's Makefile? Walking up the tree of parent files and environment variables hasn't brought any clarity.</div><div><br></div><div>P.S. before I got any further, has anyone else tried this?</div><div><br></div><div>Cheers,</div><div>Jonathan Beri.</div></div></div>