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
Giri