In Matlab, we can use mex to compile a library from multiple files (e.g., 100+ .c files) using something like
mex *.c -o mylib.mex
But in Octave, it seems like that only one input source file accepted, it always gives an error
cc1.exe: fatal error: *.c: Invalid argument
Tried googing a lot and find no solution. Any pointer to getting this problem solved will be appreciated.
I suppose that Octave doesn't expand the wildcard, so it doesn't recognize
*.cas a valid file name.You could explicitly list all the source files like this: