Dear all, I have many .c files like hello1.c, hello2.c, etc. All the files are dependent to one project. So I want to compile all the files and build a .wasm file. For compilation, I have specified all the .c files manually in emcc command line like
emcc -g hello1.c hello2.c hello3.c -s WASM=1 -s EXPORT_ALL=1 -o hello.js -s FORCE_FILESYSTEM=1 -s "EXPORTED_RUNTIME_METHODS=['calls','cwrap']" -s "EXPORTED_FUNCTIONS=['_Hello']" -s ALLOW_MEMORY_GROWTH=1 Is there any way available to load all the .c files without specifying manually in the command line? Kindly help me. Referred links 1. https://developer.mozilla.org/en-US/docs/WebAssembly/existing_C_to_wasm 2. https://emscripten.org/docs/compiling/Building-Projects.html Thanks and Regards, Giri -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/e83551e1-ae66-4195-8e58-709991c4e59bn%40googlegroups.com.
