i created a c- and h- files with following command line:
mcc -v -W lib:libfmat mymfunc.m
now i need to generate a shared library with this c-code, i am trying this way but this puts an unusable library out.
mbuild libfmat.c CFLAGS="-fPIC $CFLAGS" LDTYPE="-shared" LDEXT=".so"
I need to know how to make a shared library from generated c-code ?
Thank you. Ayoub