Is there a recommended workflow for compile software with library dependencies, all written in C. I have a project, which can be compiled with autotools and a library, libevent, which can be compiled using autotools or cmake. I first use emscripten to compile the libevent using emconfigure and emmake to generate .wasm files. Since the software using socket so I want to link the library to the existing source code. I was stuck here so is there any solution for that?